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)
A list of filter rules that determines which files to exclude from a task.
|
CreateTaskRequest.Builder |
excludes(Consumer<FilterRule.Builder>... excludes)
A list of filter rules that determines which files to exclude from a task.
|
CreateTaskRequest.Builder |
excludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task.
|
CreateTaskRequest.Builder |
includes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task.
|
CreateTaskRequest.Builder |
includes(Consumer<FilterRule.Builder>... includes)
A list of filter rules that determines which files to include when running a task.
|
CreateTaskRequest.Builder |
includes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task.
|
CreateTaskRequest.Builder |
name(String name)
The name of a task.
|
default CreateTaskRequest.Builder |
options(Consumer<Options.Builder> options)
The set of configuration options that control the behavior of a single execution of the task that occurs when
you call
StartTaskExecution. |
CreateTaskRequest.Builder |
options(Options options)
The set of configuration options that control the behavior of a single execution of the task that occurs when
you call
StartTaskExecution. |
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)
The key-value pair that represents the tag that you want to add to the resource.
|
CreateTaskRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
The key-value pair that represents the tag that you want to add to the resource.
|
CreateTaskRequest.Builder |
tags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the resource.
|
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)
The set of configuration options that control the behavior of a single execution of the task that occurs when
you call StartTaskExecution. You can configure these options to preserve metadata such as user
ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the
OverrideOptions before starting the task execution. For more information, see the StartTaskExecution operation.
options - The set of configuration options that control the behavior of a single execution of the task that
occurs when you call StartTaskExecution. You can configure these options to preserve
metadata such as user ID (UID) and group ID (GID), file permissions, data integrity verification, and
so on.
For each individual task execution, you can override these options by specifying the
OverrideOptions before starting the task execution. For more information, see the
StartTaskExecution operation.
default CreateTaskRequest.Builder options(Consumer<Options.Builder> options)
The set of configuration options that control the behavior of a single execution of the task that occurs when
you call StartTaskExecution. You can configure these options to preserve metadata such as user
ID (UID) and group ID (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the
OverrideOptions before starting the task execution. For more information, see the StartTaskExecution operation.
Options.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)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe),
for example, "/folder1|/folder2".
excludes - A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that
is, a pipe), for example, "/folder1|/folder2".
CreateTaskRequest.Builder excludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe),
for example, "/folder1|/folder2".
excludes - A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that
is, a pipe), for example, "/folder1|/folder2".
CreateTaskRequest.Builder excludes(Consumer<FilterRule.Builder>... excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe),
for example, "/folder1|/folder2".
This is a convenience that creates an instance of the
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #excludes(List) .excludes - a consumer that will call methods on List.Builder #excludes(List) 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 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)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
tags - The key-value pair that represents the tag that you want to add to the resource. The value can be an
empty string.CreateTaskRequest.Builder tags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
tags - The key-value pair that represents the tag that you want to add to the resource. The value can be an
empty string.CreateTaskRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateTaskRequest.Builder includes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task. The pattern contains a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example, "/folder1|/folder2".
includes - A list of filter rules that determines which files to include when running a task. The pattern
contains a single filter string that consists of the patterns to include. The patterns are delimited
by "|" (that is, a pipe), for example, "/folder1|/folder2".CreateTaskRequest.Builder includes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task. The pattern contains a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example, "/folder1|/folder2".
includes - A list of filter rules that determines which files to include when running a task. The pattern
contains a single filter string that consists of the patterns to include. The patterns are delimited
by "|" (that is, a pipe), for example, "/folder1|/folder2".CreateTaskRequest.Builder includes(Consumer<FilterRule.Builder>... includes)
A list of filter rules that determines which files to include when running a task. The pattern contains a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example, "/folder1|/folder2".
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #includes(List) .includes - a consumer that will call methods on List.Builder #includes(List) CreateTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.