pub struct UpdateTaskFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTask
.
Updates the configuration of a DataSync transfer 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateTaskOutput, UpdateTaskError, Self>, SdkError<UpdateTaskError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateTaskOutput, UpdateTaskError, Self>, SdkError<UpdateTaskError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource name of the task to update.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource name of the task to update.
sourcepub fn get_task_arn(&self) -> &Option<String>
pub fn get_task_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource name of the task to update.
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.
sourcepub fn excludes(self, input: FilterRule) -> Self
pub fn excludes(self, input: FilterRule) -> Self
Appends an item to Excludes
.
To override the contents of this collection use set_excludes
.
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn set_excludes(self, input: Option<Vec<FilterRule>>) -> Self
pub fn set_excludes(self, input: Option<Vec<FilterRule>>) -> Self
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn get_excludes(&self) -> &Option<Vec<FilterRule>>
pub fn get_excludes(&self) -> &Option<Vec<FilterRule>>
Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn schedule(self, input: TaskSchedule) -> Self
pub fn schedule(self, input: TaskSchedule) -> Self
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
sourcepub fn set_schedule(self, input: Option<TaskSchedule>) -> Self
pub fn set_schedule(self, input: Option<TaskSchedule>) -> Self
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
sourcepub fn get_schedule(&self) -> &Option<TaskSchedule>
pub fn get_schedule(&self) -> &Option<TaskSchedule>
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.
sourcepub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
sourcepub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
sourcepub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
pub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.
sourcepub fn includes(self, input: FilterRule) -> Self
pub fn includes(self, input: FilterRule) -> Self
Appends an item to Includes
.
To override the contents of this collection use set_includes
.
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn set_includes(self, input: Option<Vec<FilterRule>>) -> Self
pub fn set_includes(self, input: Option<Vec<FilterRule>>) -> Self
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn get_includes(&self) -> &Option<Vec<FilterRule>>
pub fn get_includes(&self) -> &Option<Vec<FilterRule>>
Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
sourcepub fn task_report_config(self, input: TaskReportConfig) -> Self
pub fn task_report_config(self, input: TaskReportConfig) -> Self
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
sourcepub fn set_task_report_config(self, input: Option<TaskReportConfig>) -> Self
pub fn set_task_report_config(self, input: Option<TaskReportConfig>) -> Self
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
sourcepub fn get_task_report_config(&self) -> &Option<TaskReportConfig>
pub fn get_task_report_config(&self) -> &Option<TaskReportConfig>
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
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