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 AWS storage resource's location.
|
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)
Add an optional request override configuration.
|
CreateTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
CreateTaskRequest.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 AWS storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of an AWS 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. For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see Monitoring Your Task.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log
events in the task. For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
For more information about how to useCloudWatchLogs with DataSync, see Monitoring Your 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 a the task execution. For more information, see the 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 a the task execution. For more information, see the
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 a the task execution. For more information, see the 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.Builder
options(Options)
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.