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 |
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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeTaskResponse.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 sync statuses, see Understanding Sync Task Statuses.
status
- The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.TaskStatus
,
TaskStatus
DescribeTaskResponse.Builder status(TaskStatus status)
The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.
status
- The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.TaskStatus
,
TaskStatus
DescribeTaskResponse.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 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.Builder
options(Options)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.