#[non_exhaustive]pub struct UpdateTaskInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTaskInput
.
Implementations§
source§impl UpdateTaskInputBuilder
impl UpdateTaskInputBuilder
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.
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 ==
.