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 |
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)
|
DescribeTaskResponse.Builder |
excludes(Consumer<FilterRule.Builder>... excludes)
|
DescribeTaskResponse.Builder |
excludes(FilterRule... excludes)
|
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. |
DescribeTaskResponse.Builder |
sourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
|
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, sdkHttpResponsecopyapplyMutation, 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 "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
status - The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
TaskStatus,
TaskStatusDescribeTaskResponse.Builder status(TaskStatus status)
The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
status - The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
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)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes - Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
DescribeTaskResponse.Builder excludes(FilterRule... excludes)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes - Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
DescribeTaskResponse.Builder excludes(Consumer<FilterRule.Builder>... excludes)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
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 #excludes(List) .excludes - a consumer that will call methods on List.Builder #excludes(List) 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 © 2019. All rights reserved.