Interface StartTaskExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTaskExecutionRequest.Builder,StartTaskExecutionRequest>,DataSyncRequest.Builder,SdkBuilder<StartTaskExecutionRequest.Builder,StartTaskExecutionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartTaskExecutionRequest
public static interface StartTaskExecutionRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<StartTaskExecutionRequest.Builder,StartTaskExecutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartTaskExecutionRequest.Builderexcludes(Collection<FilterRule> excludes)Specifies a list of filter rules that determines which files to exclude from a task.StartTaskExecutionRequest.Builderexcludes(Consumer<FilterRule.Builder>... excludes)Specifies a list of filter rules that determines which files to exclude from a task.StartTaskExecutionRequest.Builderexcludes(FilterRule... excludes)Specifies a list of filter rules that determines which files to exclude from a task.StartTaskExecutionRequest.Builderincludes(Collection<FilterRule> includes)Specifies a list of filter rules that determines which files to include when running a task.StartTaskExecutionRequest.Builderincludes(Consumer<FilterRule.Builder>... includes)Specifies a list of filter rules that determines which files to include when running a task.StartTaskExecutionRequest.Builderincludes(FilterRule... includes)Specifies a list of filter rules that determines which files to include when running a task.StartTaskExecutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartTaskExecutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default StartTaskExecutionRequest.BuilderoverrideOptions(Consumer<Options.Builder> overrideOptions)Sets the value of the OverrideOptions property for this object.StartTaskExecutionRequest.BuilderoverrideOptions(Options overrideOptions)Sets the value of the OverrideOptions property for this object.StartTaskExecutionRequest.Buildertags(Collection<TagListEntry> tags)Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.StartTaskExecutionRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.StartTaskExecutionRequest.Buildertags(TagListEntry... tags)Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.StartTaskExecutionRequest.BuildertaskArn(String taskArn)Specifies the Amazon Resource Name (ARN) of the task that you want to start.default StartTaskExecutionRequest.BuildertaskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig)Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.StartTaskExecutionRequest.BuildertaskReportConfig(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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
taskArn
StartTaskExecutionRequest.Builder taskArn(String 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
StartTaskExecutionRequest.Builder overrideOptions(Options 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:
overrideOptions(Options)
-
includes
StartTaskExecutionRequest.Builder includes(Collection<FilterRule> 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
StartTaskExecutionRequest.Builder includes(FilterRule... 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
StartTaskExecutionRequest.Builder includes(Consumer<FilterRule.Builder>... 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 to#includes(List.) - 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:
#includes(java.util.Collection)
-
excludes
StartTaskExecutionRequest.Builder excludes(Collection<FilterRule> 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
StartTaskExecutionRequest.Builder excludes(FilterRule... 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
StartTaskExecutionRequest.Builder excludes(Consumer<FilterRule.Builder>... 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 to#excludes(List.) - 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:
#excludes(java.util.Collection)
-
tags
StartTaskExecutionRequest.Builder tags(Collection<TagListEntry> 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
StartTaskExecutionRequest.Builder tags(TagListEntry... 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
StartTaskExecutionRequest.Builder tags(Consumer<TagListEntry.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
taskReportConfig
StartTaskExecutionRequest.Builder taskReportConfig(TaskReportConfig 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:
taskReportConfig(TaskReportConfig)
-
overrideConfiguration
StartTaskExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartTaskExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-