Interface DescribeTaskExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTaskExecutionResponse.Builder,
,DescribeTaskExecutionResponse> DataSyncResponse.Builder
,SdkBuilder<DescribeTaskExecutionResponse.Builder,
,DescribeTaskExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTaskExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionbytesCompressed
(Long bytesCompressed) The physical number of bytes transferred over the network after compression was applied.bytesTransferred
(Long bytesTransferred) The total number of bytes that are involved in the transfer.bytesWritten
(Long bytesWritten) The number of logical bytes written to the destination location.estimatedBytesToTransfer
(Long estimatedBytesToTransfer) The estimated physical number of bytes that will transfer over the network.estimatedFilesToDelete
(Long estimatedFilesToDelete) The expected number of files, objects, and directories that DataSync will delete in your destination location.estimatedFilesToTransfer
(Long estimatedFilesToTransfer) The expected number of files, objects, and directories that DataSync will transfer over the network.excludes
(Collection<FilterRule> excludes) A list of filter rules that exclude specific data during your transfer.excludes
(Consumer<FilterRule.Builder>... excludes) A list of filter rules that exclude specific data during your transfer.excludes
(FilterRule... excludes) A list of filter rules that exclude specific data during your transfer.filesDeleted
(Long filesDeleted) The number of files, objects, and directories that DataSync deleted in your destination location.filesSkipped
(Long filesSkipped) The number of files, objects, and directories that DataSync skipped during your transfer.filesTransferred
(Long filesTransferred) The actual number of files, objects, and directories that DataSync transferred over the network.filesVerified
(Long filesVerified) The number of files, objects, and directories that DataSync verified during your transfer.includes
(Collection<FilterRule> includes) A list of filter rules that include specific data during your transfer.includes
(Consumer<FilterRule.Builder>... includes) A list of filter rules that include specific data during your transfer.includes
(FilterRule... includes) A list of filter rules that include specific data during your transfer.options
(Consumer<Options.Builder> options) Sets the value of the Options property for this object.Sets the value of the Options property for this object.reportResult
(Consumer<ReportResult.Builder> reportResult) Indicates whether DataSync generated a complete task report for your transfer.reportResult
(ReportResult reportResult) Indicates whether DataSync generated a complete task report for your transfer.The result of the task execution.result
(TaskExecutionResultDetail result) The result of the task execution.The time when the task execution started.The status of the task execution.status
(TaskExecutionStatus status) The status of the task execution.taskExecutionArn
(String taskExecutionArn) The ARN of the task execution that you wanted information about.taskReportConfig
(Consumer<TaskReportConfig.Builder> taskReportConfig) The configuration of your task report, which provides detailed information about for your DataSync transfer.taskReportConfig
(TaskReportConfig taskReportConfig) The configuration of your task report, which provides detailed information about for your DataSync transfer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskExecutionArn
The ARN of the task execution that you wanted information about.
TaskExecutionArn
is hierarchical and includesTaskArn
for the task that was executed.For example, a
TaskExecution
value with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.- Parameters:
taskExecutionArn
- The ARN of the task execution that you wanted information about.TaskExecutionArn
is hierarchical and includesTaskArn
for the task that was executed.For example, a
TaskExecution
value with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the task execution.
- Parameters:
status
- The status of the task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the task execution.
- Parameters:
status
- The status of the task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
options
Sets the value of the Options property for this object.- Parameters:
options
- The new value for the Options property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Sets the value of the Options property for this object. This is a convenience method that creates an instance of theOptions.Builder
avoiding the need to create one manually viaOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(Options)
.- Parameters:
options
- a consumer that will call methods onOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludes
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
excludes
- A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
excludes
- A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
This is a convenience method that creates an instance of theFilterRule.Builder
avoiding the need to create one manually viaFilterRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcludes(List<FilterRule>)
.- Parameters:
excludes
- a consumer that will call methods onFilterRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includes
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
includes
- A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
includes
- A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
This is a convenience method that creates an instance of theFilterRule.Builder
avoiding the need to create one manually viaFilterRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincludes(List<FilterRule>)
.- Parameters:
includes
- a consumer that will call methods onFilterRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time when the task execution started.
- Parameters:
startTime
- The time when the task execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedFilesToTransfer
The expected number of files, objects, and directories that DataSync will transfer over the network. This value is calculated during the task execution's
PREPARING
phase before theTRANSFERRING
phase. The calculation is based on comparing the content of the source and destination locations and finding the difference that needs to be transferred.- Parameters:
estimatedFilesToTransfer
- The expected number of files, objects, and directories that DataSync will transfer over the network. This value is calculated during the task execution'sPREPARING
phase before theTRANSFERRING
phase. The calculation is based on comparing the content of the source and destination locations and finding the difference that needs to be transferred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedBytesToTransfer
The estimated physical number of bytes that will transfer over the network.
- Parameters:
estimatedBytesToTransfer
- The estimated physical number of bytes that will transfer over the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesTransferred
The actual number of files, objects, and directories that DataSync transferred over the network. This value is updated periodically during the task execution's
TRANSFERRING
phase when something is read from the source and sent over the network.If DataSync fails to transfer something, this value can be less than
EstimatedFilesToTransfer
. In some cases, this value can also be greater thanEstimatedFilesToTransfer
. This element is implementation-specific for some location types, so don't use it as an exact indication of what transferred or to monitor your task execution.- Parameters:
filesTransferred
- The actual number of files, objects, and directories that DataSync transferred over the network. This value is updated periodically during the task execution'sTRANSFERRING
phase when something is read from the source and sent over the network.If DataSync fails to transfer something, this value can be less than
EstimatedFilesToTransfer
. In some cases, this value can also be greater thanEstimatedFilesToTransfer
. This element is implementation-specific for some location types, so don't use it as an exact indication of what transferred or to monitor your task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesWritten
The number of logical bytes written to the destination location.
- Parameters:
bytesWritten
- The number of logical bytes written to the destination location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesTransferred
The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see
BytesCompressed
.- Parameters:
bytesTransferred
- The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, seeBytesCompressed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The result of the task execution.
- Parameters:
result
- The result of the task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
default DescribeTaskExecutionResponse.Builder result(Consumer<TaskExecutionResultDetail.Builder> result) The result of the task execution.
This is a convenience method that creates an instance of theTaskExecutionResultDetail.Builder
avoiding the need to create one manually viaTaskExecutionResultDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresult(TaskExecutionResultDetail)
.- Parameters:
result
- a consumer that will call methods onTaskExecutionResultDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bytesCompressed
The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than
BytesTransferred
unless the data isn't compressible.- Parameters:
bytesCompressed
- The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less thanBytesTransferred
unless the data isn't compressible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskReportConfig
The configuration of your task report, which provides detailed information about for your DataSync transfer.
- Parameters:
taskReportConfig
- The configuration of your task report, which provides detailed information about for your DataSync transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskReportConfig
default DescribeTaskExecutionResponse.Builder taskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig) The configuration of your task report, which provides detailed information about for your DataSync transfer.
This is a convenience method that creates an instance of theTaskReportConfig.Builder
avoiding the need to create one manually viaTaskReportConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskReportConfig(TaskReportConfig)
.- Parameters:
taskReportConfig
- a consumer that will call methods onTaskReportConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filesDeleted
The number of files, objects, and directories that DataSync deleted in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always
0
.- Parameters:
filesDeleted
- The number of files, objects, and directories that DataSync deleted in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always0
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesSkipped
The number of files, objects, and directories that DataSync skipped during your transfer.
- Parameters:
filesSkipped
- The number of files, objects, and directories that DataSync skipped during your transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesVerified
The number of files, objects, and directories that DataSync verified during your transfer.
When you configure your task to verify only the data that's transferred, DataSync doesn't verify directories in some situations or files that fail to transfer.
- Parameters:
filesVerified
- The number of files, objects, and directories that DataSync verified during your transfer.When you configure your task to verify only the data that's transferred, DataSync doesn't verify directories in some situations or files that fail to transfer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportResult
Indicates whether DataSync generated a complete task report for your transfer.
- Parameters:
reportResult
- Indicates whether DataSync generated a complete task report for your transfer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportResult
default DescribeTaskExecutionResponse.Builder reportResult(Consumer<ReportResult.Builder> reportResult) Indicates whether DataSync generated a complete task report for your transfer.
This is a convenience method that creates an instance of theReportResult.Builder
avoiding the need to create one manually viaReportResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreportResult(ReportResult)
.- Parameters:
reportResult
- a consumer that will call methods onReportResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedFilesToDelete
The expected number of files, objects, and directories that DataSync will delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always
0
.- Parameters:
estimatedFilesToDelete
- The expected number of files, objects, and directories that DataSync will delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always0
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-