public static interface DescribeTaskResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskResponse.Builder,DescribeTaskResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeTaskResponse.Builder |
cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in
the task.
|
DescribeTaskResponse.Builder |
creationTime(Instant creationTime)
The time that the task was created.
|
DescribeTaskResponse.Builder |
currentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
|
DescribeTaskResponse.Builder |
destinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
|
DescribeTaskResponse.Builder |
destinationNetworkInterfaceArns(Collection<String> destinationNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your
subnet.
|
DescribeTaskResponse.Builder |
destinationNetworkInterfaceArns(String... destinationNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your
subnet.
|
DescribeTaskResponse.Builder |
errorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task.
|
DescribeTaskResponse.Builder |
errorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution.
|
DescribeTaskResponse.Builder |
excludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskResponse.Builder |
excludes(Consumer<FilterRule.Builder>... excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskResponse.Builder |
excludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskResponse.Builder |
name(String name)
The name of the task that was described.
|
default DescribeTaskResponse.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. |
DescribeTaskResponse.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. |
default DescribeTaskResponse.Builder |
schedule(Consumer<TaskSchedule.Builder> schedule)
The schedule used to periodically transfer files from a source to a destination location.
|
DescribeTaskResponse.Builder |
schedule(TaskSchedule schedule)
The schedule used to periodically transfer files from a source to a destination location.
|
DescribeTaskResponse.Builder |
sourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
|
DescribeTaskResponse.Builder |
sourceNetworkInterfaceArns(Collection<String> sourceNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your
subnet.
|
DescribeTaskResponse.Builder |
sourceNetworkInterfaceArns(String... sourceNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your
subnet.
|
DescribeTaskResponse.Builder |
status(String status)
The status of the task that was described.
|
DescribeTaskResponse.Builder |
status(TaskStatus status)
The status of the task that was described.
|
DescribeTaskResponse.Builder |
taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeTaskResponse.Builder taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
taskArn - The Amazon Resource Name (ARN) of the task that was described.DescribeTaskResponse.Builder status(String status)
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
status - The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskStatus,
TaskStatusDescribeTaskResponse.Builder status(TaskStatus status)
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
status - The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskStatus,
TaskStatusDescribeTaskResponse.Builder name(String name)
The name of the task that was described.
name - The name of the task that was described.DescribeTaskResponse.Builder currentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
currentTaskExecutionArn - The Amazon Resource Name (ARN) of the task execution that is syncing files.DescribeTaskResponse.Builder sourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
sourceLocationArn - The Amazon Resource Name (ARN) of the source file system's location.DescribeTaskResponse.Builder destinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
destinationLocationArn - The Amazon Resource Name (ARN) of the AWS storage resource's location.DescribeTaskResponse.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was 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.
cloudWatchLogGroupArn - The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was 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.
DescribeTaskResponse.Builder sourceNetworkInterfaceArns(Collection<String> sourceNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your subnet.
sourceNetworkInterfaceArns - The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for
your subnet.DescribeTaskResponse.Builder sourceNetworkInterfaceArns(String... sourceNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your subnet.
sourceNetworkInterfaceArns - The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for
your subnet.DescribeTaskResponse.Builder destinationNetworkInterfaceArns(Collection<String> destinationNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your subnet.
destinationNetworkInterfaceArns - The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created
for your subnet.DescribeTaskResponse.Builder destinationNetworkInterfaceArns(String... destinationNetworkInterfaceArns)
The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your subnet.
destinationNetworkInterfaceArns - The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created
for your subnet.DescribeTaskResponse.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 (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions value to 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 (GID), file permissions, data integrity verification, and so
on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions value to operation.
default DescribeTaskResponse.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 (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions value to 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)DescribeTaskResponse.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"
DescribeTaskResponse.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"
DescribeTaskResponse.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) DescribeTaskResponse.Builder schedule(TaskSchedule schedule)
The schedule used to periodically transfer files from a source to a destination location.
schedule - The schedule used to periodically transfer files from a source to a destination location.default DescribeTaskResponse.Builder schedule(Consumer<TaskSchedule.Builder> schedule)
The schedule used to periodically transfer files from a source to a destination location.
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)DescribeTaskResponse.Builder errorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
errorCode - Errors that AWS DataSync encountered during execution of the task. You can use this error code to help
troubleshoot issues.DescribeTaskResponse.Builder errorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
errorDetail - Detailed description of an error that was encountered during the task execution. You can use this
information to help troubleshoot issues.DescribeTaskResponse.Builder creationTime(Instant creationTime)
The time that the task was created.
creationTime - The time that the task was created.Copyright © 2020. All rights reserved.