public static interface CreateTaskRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateTaskRequest.Builder,CreateTaskRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateTaskRequest.Builder |
cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in
the task.
|
CreateTaskRequest.Builder |
destinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
|
CreateTaskRequest.Builder |
excludes(Collection<FilterRule> excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
CreateTaskRequest.Builder |
excludes(Consumer<FilterRule.Builder>... excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
CreateTaskRequest.Builder |
excludes(FilterRule... excludes)
Specifies a list of filter rules that exclude specific data during your transfer.
|
CreateTaskRequest.Builder |
includes(Collection<FilterRule> includes)
Specifies a list of filter rules that include specific data during your transfer.
|
CreateTaskRequest.Builder |
includes(Consumer<FilterRule.Builder>... includes)
Specifies a list of filter rules that include specific data during your transfer.
|
CreateTaskRequest.Builder |
includes(FilterRule... includes)
Specifies a list of filter rules that include specific data during your transfer.
|
CreateTaskRequest.Builder |
name(String name)
The name of a task.
|
default CreateTaskRequest.Builder |
options(Consumer<Options.Builder> options)
Specifies the configuration options for a task.
|
CreateTaskRequest.Builder |
options(Options options)
Specifies the configuration options for a task.
|
CreateTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateTaskRequest.Builder |
schedule(Consumer<TaskSchedule.Builder> schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
CreateTaskRequest.Builder |
schedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
CreateTaskRequest.Builder |
sourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
|
CreateTaskRequest.Builder |
tags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
CreateTaskRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
CreateTaskRequest.Builder |
tags(TagListEntry... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTaskRequest.Builder sourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source location for the task.
sourceLocationArn - The Amazon Resource Name (ARN) of the source location for the task.CreateTaskRequest.Builder destinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.
destinationLocationArn - The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.CreateTaskRequest.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
cloudWatchLogGroupArn - The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log
events in the task.CreateTaskRequest.Builder name(String name)
The name of a task. This value is a text reference that is used to identify the task in the console.
name - The name of a task. This value is a text reference that is used to identify the task in the console.CreateTaskRequest.Builder options(Options options)
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
options - Specifies the configuration options for a task. Some options include preserving file or object
metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
default CreateTaskRequest.Builder options(Consumer<Options.Builder> options)
Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.
You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.
This is a convenience method that creates an instance of theOptions.Builder avoiding the need to
create one manually via Options.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to options(Options).
options - a consumer that will call methods on Options.Builderoptions(Options)CreateTaskRequest.Builder excludes(Collection<FilterRule> 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.
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.CreateTaskRequest.Builder excludes(FilterRule... 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.
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.CreateTaskRequest.Builder excludes(Consumer<FilterRule.Builder>... 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.
This is a convenience method that creates an instance of theFilterRule.Builder avoiding the need to create one
manually via FilterRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #excludes(List.
excludes - a consumer that will call methods on
FilterRule.Builder#excludes(java.util.Collection) CreateTaskRequest.Builder schedule(TaskSchedule schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see Scheduling your task.
schedule - Specifies a schedule used to periodically transfer files from a source to a destination location. The
schedule should be specified in UTC time. For more information, see Scheduling your
task.default CreateTaskRequest.Builder schedule(Consumer<TaskSchedule.Builder> schedule)
Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see Scheduling your task.
This is a convenience method that creates an instance of theTaskSchedule.Builder avoiding the need
to create one manually via TaskSchedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to schedule(TaskSchedule).
schedule - a consumer that will call methods on TaskSchedule.Builderschedule(TaskSchedule)CreateTaskRequest.Builder tags(Collection<TagListEntry> tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
tags - Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
CreateTaskRequest.Builder tags(TagListEntry... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
tags - Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
CreateTaskRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.
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.Builder avoiding the need to create one
manually via TagListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
TagListEntry.Builder#tags(java.util.Collection) CreateTaskRequest.Builder includes(Collection<FilterRule> 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.
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.CreateTaskRequest.Builder includes(FilterRule... 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.
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.CreateTaskRequest.Builder includes(Consumer<FilterRule.Builder>... 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.
This is a convenience method that creates an instance of theFilterRule.Builder avoiding the need to create one
manually via FilterRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #includes(List.
includes - a consumer that will call methods on
FilterRule.Builder#includes(java.util.Collection) CreateTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.