Interface StartTaskExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTaskExecutionRequest.Builder,,StartTaskExecutionRequest> DataSyncRequest.Builder,SdkBuilder<StartTaskExecutionRequest.Builder,,StartTaskExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartTaskExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptionexcludes(Collection<FilterRule> excludes) Specifies a list of filter rules that determines which files to exclude from a task.excludes(Consumer<FilterRule.Builder>... excludes) Specifies a list of filter rules that determines which files to exclude from a task.excludes(FilterRule... excludes) Specifies a list of filter rules that determines which files to exclude from a task.includes(Collection<FilterRule> includes) Specifies a list of filter rules that determines which files to include when running a task.includes(Consumer<FilterRule.Builder>... includes) Specifies a list of filter rules that determines which files to include when running a task.includes(FilterRule... includes) Specifies a list of filter rules that determines which files to include when running a task.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideOptions(Consumer<Options.Builder> overrideOptions) Sets the value of the OverrideOptions property for this object.overrideOptions(Options overrideOptions) Sets the value of the OverrideOptions property for this object.tags(Collection<TagListEntry> tags) Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.tags(Consumer<TagListEntry.Builder>... tags) Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.tags(TagListEntry... tags) Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.Specifies the Amazon Resource Name (ARN) of the task that you want to start.taskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig) Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.taskReportConfig(TaskReportConfig taskReportConfig) Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
taskArn
Specifies the Amazon Resource Name (ARN) of the task that you want to start.
- Parameters:
taskArn- Specifies the Amazon Resource Name (ARN) of the task that you want to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideOptions
Sets the value of the OverrideOptions property for this object.- Parameters:
overrideOptions- The new value for the OverrideOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideOptions
default StartTaskExecutionRequest.Builder overrideOptions(Consumer<Options.Builder> overrideOptions) Sets the value of the OverrideOptions property for this object. This is a convenience method that creates an instance of theOptions.Builderavoiding the need to create one manually viaOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverrideOptions(Options).- Parameters:
overrideOptions- a consumer that will call methods onOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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".- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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".- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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,
This is a convenience method that creates an instance of the"/folder1|/folder2".FilterRule.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincludes(List<FilterRule>).- Parameters:
includes- a consumer that will call methods onFilterRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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".- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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".- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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,
This is a convenience method that creates an instance of the"/folder1|/folder2".FilterRule.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexcludes(List<FilterRule>).- Parameters:
excludes- a consumer that will call methods onFilterRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theTagListEntry.Builderavoiding the need to create one manually viaTagListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<TagListEntry>).- Parameters:
tags- a consumer that will call methods onTagListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskReportConfig
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
- Parameters:
taskReportConfig- Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskReportConfig
default StartTaskExecutionRequest.Builder taskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig) Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
This is a convenience method that creates an instance of theTaskReportConfig.Builderavoiding the need to create one manually viaTaskReportConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskReportConfig(TaskReportConfig).- Parameters:
taskReportConfig- a consumer that will call methods onTaskReportConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartTaskExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartTaskExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-