Struct aws_sdk_datasync::operation::update_task_execution::builders::UpdateTaskExecutionFluentBuilder
source · pub struct UpdateTaskExecutionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTaskExecution
.
Updates the configuration of a running DataSync task execution.
Currently, the only Option
that you can modify with UpdateTaskExecution
is BytesPerSecond
, which throttles bandwidth for a running or queued task execution.
Implementations§
source§impl UpdateTaskExecutionFluentBuilder
impl UpdateTaskExecutionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTaskExecutionInputBuilder
pub fn as_input(&self) -> &UpdateTaskExecutionInputBuilder
Access the UpdateTaskExecution as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, 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<UpdateTaskExecutionOutput, UpdateTaskExecutionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTaskExecutionOutput, UpdateTaskExecutionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn task_execution_arn(self, input: impl Into<String>) -> Self
pub fn task_execution_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn set_task_execution_arn(self, input: Option<String>) -> Self
pub fn set_task_execution_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn get_task_execution_arn(&self) -> &Option<String>
pub fn get_task_execution_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn options(self, input: Options) -> Self
pub fn options(self, input: Options) -> Self
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.
sourcepub fn set_options(self, input: Option<Options>) -> Self
pub fn set_options(self, input: Option<Options>) -> Self
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.
sourcepub fn get_options(&self) -> &Option<Options>
pub fn get_options(&self) -> &Option<Options>
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.
Trait Implementations§
source§impl Clone for UpdateTaskExecutionFluentBuilder
impl Clone for UpdateTaskExecutionFluentBuilder
source§fn clone(&self) -> UpdateTaskExecutionFluentBuilder
fn clone(&self) -> UpdateTaskExecutionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more