public static interface DescribeTaskExecutionResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskExecutionResponse.Builder,DescribeTaskExecutionResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeTaskExecutionResponse.Builder |
bytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
|
DescribeTaskExecutionResponse.Builder |
bytesWritten(Long bytesWritten)
The number of logical bytes written to the destination Amazon Web Services storage resource.
|
DescribeTaskExecutionResponse.Builder |
estimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
|
DescribeTaskExecutionResponse.Builder |
estimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network.
|
DescribeTaskExecutionResponse.Builder |
excludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskExecutionResponse.Builder |
excludes(Consumer<FilterRule.Builder>... excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskExecutionResponse.Builder |
excludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskExecutionResponse.Builder |
filesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network.
|
DescribeTaskExecutionResponse.Builder |
includes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task.
|
DescribeTaskExecutionResponse.Builder |
includes(Consumer<FilterRule.Builder>... includes)
A list of filter rules that determines which files to include when running a task.
|
DescribeTaskExecutionResponse.Builder |
includes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task.
|
default DescribeTaskExecutionResponse.Builder |
options(Consumer<Options.Builder> options)
Sets the value of the Options property for this object.
|
DescribeTaskExecutionResponse.Builder |
options(Options options)
Sets the value of the Options property for this object.
|
default DescribeTaskExecutionResponse.Builder |
result(Consumer<TaskExecutionResultDetail.Builder> result)
The result of the task execution.
|
DescribeTaskExecutionResponse.Builder |
result(TaskExecutionResultDetail result)
The result of the task execution.
|
DescribeTaskExecutionResponse.Builder |
startTime(Instant startTime)
The time that the task execution was started.
|
DescribeTaskExecutionResponse.Builder |
status(String status)
The status of the task execution.
|
DescribeTaskExecutionResponse.Builder |
status(TaskExecutionStatus status)
The status of the task execution.
|
DescribeTaskExecutionResponse.Builder |
taskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeTaskExecutionResponse.Builder taskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn is
hierarchical and includes TaskArn for the task that was executed.
For example, a TaskExecution value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
taskExecutionArn - The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is hierarchical and includes TaskArn for the task that was executed.
For example, a TaskExecution value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.
DescribeTaskExecutionResponse.Builder status(String status)
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
status - The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
TaskExecutionStatus,
TaskExecutionStatusDescribeTaskExecutionResponse.Builder status(TaskExecutionStatus status)
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
status - The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
TaskExecutionStatus,
TaskExecutionStatusDescribeTaskExecutionResponse.Builder options(Options options)
options - The new value for the Options property for this object.default DescribeTaskExecutionResponse.Builder options(Consumer<Options.Builder> options)
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)DescribeTaskExecutionResponse.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"
DescribeTaskExecutionResponse.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"
DescribeTaskExecutionResponse.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) DescribeTaskExecutionResponse.Builder includes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task. The list should contain 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 list should
contain a single filter string that consists of the patterns to include. The patterns are delimited by
"|" (that is, a pipe), for example: "/folder1|/folder2"
DescribeTaskExecutionResponse.Builder includes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task. The list should contain 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 list should
contain a single filter string that consists of the patterns to include. The patterns are delimited by
"|" (that is, a pipe), for example: "/folder1|/folder2"
DescribeTaskExecutionResponse.Builder includes(Consumer<FilterRule.Builder>... includes)
A list of filter rules that determines which files to include when running a task. The list should contain a
single filter string that consists of the patterns to include. 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 #includes(List) .includes - a consumer that will call methods on List.Builder #includes(List) DescribeTaskExecutionResponse.Builder startTime(Instant startTime)
The time that the task execution was started.
startTime - The time that the task execution was started.DescribeTaskExecutionResponse.Builder estimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
estimatedFilesToTransfer - The expected number of files that is to be transferred over the network. This value is calculated
during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files
to be transferred. It's calculated based on comparing the content of the source and destination
locations and finding the delta that needs to be transferred.DescribeTaskExecutionResponse.Builder estimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
estimatedBytesToTransfer - The estimated physical number of bytes that is to be transferred over the network.DescribeTaskExecutionResponse.Builder filesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer. This
value can also be greater than EstimatedFilesTransferred in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number or
to monitor your task execution.
filesTransferred - The actual number of files that was transferred over the network. This value is calculated and updated
on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read
from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This value can also be greater than EstimatedFilesTransferred in some cases. This
element is implementation-specific for some location types, so don't use it as an indicator for a
correct file number or to monitor your task execution.
DescribeTaskExecutionResponse.Builder bytesWritten(Long bytesWritten)
The number of logical bytes written to the destination Amazon Web Services storage resource.
bytesWritten - The number of logical bytes written to the destination Amazon Web Services storage resource.DescribeTaskExecutionResponse.Builder bytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
bytesTransferred - The physical number of bytes transferred over the network.DescribeTaskExecutionResponse.Builder result(TaskExecutionResultDetail result)
The result of the task execution.
result - The result of the task execution.default DescribeTaskExecutionResponse.Builder result(Consumer<TaskExecutionResultDetail.Builder> result)
The result of the task execution.
This is a convenience that creates an instance of theTaskExecutionResultDetail.Builder avoiding the
need to create one manually via TaskExecutionResultDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to result(TaskExecutionResultDetail).result - a consumer that will call methods on TaskExecutionResultDetail.Builderresult(TaskExecutionResultDetail)Copyright © 2021. All rights reserved.