pub struct UpdateTaskFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateTask.
Updates a task.
Implementations§
source§impl UpdateTaskFluentBuilder
impl UpdateTaskFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTaskInputBuilder
pub fn as_input(&self) -> &UpdateTaskInputBuilder
Access the UpdateTask as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTaskOutput, SdkError<UpdateTaskError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTaskOutput, SdkError<UpdateTaskError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateTaskOutput, UpdateTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTaskOutput, UpdateTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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 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 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 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 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.
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.
Trait Implementations§
source§impl Clone for UpdateTaskFluentBuilder
impl Clone for UpdateTaskFluentBuilder
source§fn clone(&self) -> UpdateTaskFluentBuilder
fn clone(&self) -> UpdateTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more