#[non_exhaustive]pub struct UpdateTaskInputBuilder { /* private fields */ }Expand description
A builder for UpdateTaskInput.
Implementations§
source§impl UpdateTaskInputBuilder
impl UpdateTaskInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The unique token which the server uses to recognize retries of the same request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The unique token which the server uses to recognize retries of the same request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The unique token which the server uses to recognize retries of the same request.
sourcepub fn farm_id(self, input: impl Into<String>) -> Self
pub fn farm_id(self, input: impl Into<String>) -> Self
The farm ID to update.
This field is required.sourcepub fn set_farm_id(self, input: Option<String>) -> Self
pub fn set_farm_id(self, input: Option<String>) -> Self
The farm ID to update.
sourcepub fn get_farm_id(&self) -> &Option<String>
pub fn get_farm_id(&self) -> &Option<String>
The farm ID to update.
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The queue ID to update.
This field is required.sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The queue ID to update.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The queue ID to update.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID to update.
This field is required.sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID to update.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID to update.
sourcepub fn step_id(self, input: impl Into<String>) -> Self
pub fn step_id(self, input: impl Into<String>) -> Self
The step ID to update.
This field is required.sourcepub fn set_step_id(self, input: Option<String>) -> Self
pub fn set_step_id(self, input: Option<String>) -> Self
The step ID to update.
sourcepub fn get_step_id(&self) -> &Option<String>
pub fn get_step_id(&self) -> &Option<String>
The step ID to update.
sourcepub fn task_id(self, input: impl Into<String>) -> Self
pub fn task_id(self, input: impl Into<String>) -> Self
The task ID to update.
This field is required.sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The task ID to update.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The task ID to update.
sourcepub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
pub fn target_run_status(self, input: TaskTargetRunStatus) -> Self
The run status with which to start the task.
This field is required.sourcepub fn set_target_run_status(self, input: Option<TaskTargetRunStatus>) -> Self
pub fn set_target_run_status(self, input: Option<TaskTargetRunStatus>) -> Self
The run status with which to start the task.
sourcepub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
pub fn get_target_run_status(&self) -> &Option<TaskTargetRunStatus>
The run status with which to start the task.
sourcepub fn build(self) -> Result<UpdateTaskInput, BuildError>
pub fn build(self) -> Result<UpdateTaskInput, BuildError>
Consumes the builder and constructs a UpdateTaskInput.
source§impl UpdateTaskInputBuilder
impl UpdateTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTaskOutput, SdkError<UpdateTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTaskOutput, SdkError<UpdateTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTaskInputBuilder
impl Clone for UpdateTaskInputBuilder
source§fn clone(&self) -> UpdateTaskInputBuilder
fn clone(&self) -> UpdateTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateTaskInputBuilder
impl Debug for UpdateTaskInputBuilder
source§impl Default for UpdateTaskInputBuilder
impl Default for UpdateTaskInputBuilder
source§fn default() -> UpdateTaskInputBuilder
fn default() -> UpdateTaskInputBuilder
source§impl PartialEq for UpdateTaskInputBuilder
impl PartialEq for UpdateTaskInputBuilder
source§fn eq(&self, other: &UpdateTaskInputBuilder) -> bool
fn eq(&self, other: &UpdateTaskInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateTaskInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTaskInputBuilder
impl RefUnwindSafe for UpdateTaskInputBuilder
impl Send for UpdateTaskInputBuilder
impl Sync for UpdateTaskInputBuilder
impl Unpin for UpdateTaskInputBuilder
impl UnwindSafe for UpdateTaskInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more