Struct aws_sdk_datasync::operation::start_task_execution::builders::StartTaskExecutionInputBuilder
source · #[non_exhaustive]pub struct StartTaskExecutionInputBuilder { /* private fields */ }
Expand description
A builder for StartTaskExecutionInput
.
Implementations§
source§impl StartTaskExecutionInputBuilder
impl StartTaskExecutionInputBuilder
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
sourcepub fn get_task_arn(&self) -> &Option<String>
pub fn get_task_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
sourcepub fn override_options(self, input: Options) -> Self
pub fn override_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_override_options(self, input: Option<Options>) -> Self
pub fn set_override_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_override_options(&self) -> &Option<Options>
pub fn get_override_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 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 determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
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 determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
sourcepub fn get_includes(&self) -> &Option<Vec<FilterRule>>
pub fn get_includes(&self) -> &Option<Vec<FilterRule>>
Specifies a list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
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 determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
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 determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
sourcepub fn get_excludes(&self) -> &Option<Vec<FilterRule>>
pub fn get_excludes(&self) -> &Option<Vec<FilterRule>>
Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2"
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
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<StartTaskExecutionInput, BuildError>
pub fn build(self) -> Result<StartTaskExecutionInput, BuildError>
Consumes the builder and constructs a StartTaskExecutionInput
.
source§impl StartTaskExecutionInputBuilder
impl StartTaskExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartTaskExecutionOutput, SdkError<StartTaskExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartTaskExecutionOutput, SdkError<StartTaskExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartTaskExecutionInputBuilder
impl Clone for StartTaskExecutionInputBuilder
source§fn clone(&self) -> StartTaskExecutionInputBuilder
fn clone(&self) -> StartTaskExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartTaskExecutionInputBuilder
impl Default for StartTaskExecutionInputBuilder
source§fn default() -> StartTaskExecutionInputBuilder
fn default() -> StartTaskExecutionInputBuilder
source§impl PartialEq for StartTaskExecutionInputBuilder
impl PartialEq for StartTaskExecutionInputBuilder
source§fn eq(&self, other: &StartTaskExecutionInputBuilder) -> bool
fn eq(&self, other: &StartTaskExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.