Interface DescribeTaskExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTaskExecutionResponse.Builder,DescribeTaskExecutionResponse>,DataSyncResponse.Builder,SdkBuilder<DescribeTaskExecutionResponse.Builder,DescribeTaskExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTaskExecutionResponse
public static interface DescribeTaskExecutionResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskExecutionResponse.Builder,DescribeTaskExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeTaskExecutionResponse.BuilderbytesCompressed(Long bytesCompressed)The physical number of bytes transferred over the network after compression was applied.DescribeTaskExecutionResponse.BuilderbytesTransferred(Long bytesTransferred)The total number of bytes that are involved in the transfer.DescribeTaskExecutionResponse.BuilderbytesWritten(Long bytesWritten)The number of logical bytes written to the destination location.DescribeTaskExecutionResponse.BuilderestimatedBytesToTransfer(Long estimatedBytesToTransfer)The estimated physical number of bytes that will transfer over the network.DescribeTaskExecutionResponse.BuilderestimatedFilesToDelete(Long estimatedFilesToDelete)The expected number of files, objects, and directories that DataSync will delete in your destination location.DescribeTaskExecutionResponse.BuilderestimatedFilesToTransfer(Long estimatedFilesToTransfer)The expected number of files, objects, and directories that DataSync will transfer over the network.DescribeTaskExecutionResponse.Builderexcludes(Collection<FilterRule> excludes)A list of filter rules that exclude specific data during your transfer.DescribeTaskExecutionResponse.Builderexcludes(Consumer<FilterRule.Builder>... excludes)A list of filter rules that exclude specific data during your transfer.DescribeTaskExecutionResponse.Builderexcludes(FilterRule... excludes)A list of filter rules that exclude specific data during your transfer.DescribeTaskExecutionResponse.BuilderfilesDeleted(Long filesDeleted)The number of files, objects, and directories that DataSync deleted in your destination location.DescribeTaskExecutionResponse.BuilderfilesSkipped(Long filesSkipped)The number of files, objects, and directories that DataSync skipped during your transfer.DescribeTaskExecutionResponse.BuilderfilesTransferred(Long filesTransferred)The actual number of files, objects, and directories that DataSync transferred over the network.DescribeTaskExecutionResponse.BuilderfilesVerified(Long filesVerified)The number of files, objects, and directories that DataSync verified during your transfer.DescribeTaskExecutionResponse.Builderincludes(Collection<FilterRule> includes)A list of filter rules that include specific data during your transfer.DescribeTaskExecutionResponse.Builderincludes(Consumer<FilterRule.Builder>... includes)A list of filter rules that include specific data during your transfer.DescribeTaskExecutionResponse.Builderincludes(FilterRule... includes)A list of filter rules that include specific data during your transfer.default DescribeTaskExecutionResponse.Builderoptions(Consumer<Options.Builder> options)Sets the value of the Options property for this object.DescribeTaskExecutionResponse.Builderoptions(Options options)Sets the value of the Options property for this object.default DescribeTaskExecutionResponse.BuilderreportResult(Consumer<ReportResult.Builder> reportResult)Indicates whether DataSync generated a complete task report for your transfer.DescribeTaskExecutionResponse.BuilderreportResult(ReportResult reportResult)Indicates whether DataSync generated a complete task report for your transfer.default DescribeTaskExecutionResponse.Builderresult(Consumer<TaskExecutionResultDetail.Builder> result)The result of the task execution.DescribeTaskExecutionResponse.Builderresult(TaskExecutionResultDetail result)The result of the task execution.DescribeTaskExecutionResponse.BuilderstartTime(Instant startTime)The time when the task execution started.DescribeTaskExecutionResponse.Builderstatus(String status)The status of the task execution.DescribeTaskExecutionResponse.Builderstatus(TaskExecutionStatus status)The status of the task execution.DescribeTaskExecutionResponse.BuildertaskExecutionArn(String taskExecutionArn)The ARN of the task execution that you wanted information about.default DescribeTaskExecutionResponse.BuildertaskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig)The configuration of your task report, which provides detailed information about for your DataSync transfer.DescribeTaskExecutionResponse.BuildertaskReportConfig(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 Detail
-
taskExecutionArn
DescribeTaskExecutionResponse.Builder taskExecutionArn(String taskExecutionArn)
The ARN of the task execution that you wanted information about.
TaskExecutionArnis hierarchical and includesTaskArnfor the task that was executed.For example, a
TaskExecutionvalue with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019bexecuted 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.TaskExecutionArnis hierarchical and includesTaskArnfor the task that was executed.For example, a
TaskExecutionvalue with the ARNarn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019bexecuted 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
DescribeTaskExecutionResponse.Builder status(String 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:
TaskExecutionStatus,TaskExecutionStatus
-
status
DescribeTaskExecutionResponse.Builder status(TaskExecutionStatus 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:
TaskExecutionStatus,TaskExecutionStatus
-
options
DescribeTaskExecutionResponse.Builder options(Options 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
default DescribeTaskExecutionResponse.Builder options(Consumer<Options.Builder> options)
Sets the value of the Options property for this object. This is a convenience method that creates an instance of theOptions.Builderavoiding the need to create one manually viaOptions.builder().When the
Consumercompletes,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:
options(Options)
-
excludes
DescribeTaskExecutionResponse.Builder excludes(Collection<FilterRule> 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
DescribeTaskExecutionResponse.Builder excludes(FilterRule... 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
DescribeTaskExecutionResponse.Builder excludes(Consumer<FilterRule.Builder>... 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.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#excludes(List.) - 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:
#excludes(java.util.Collection)
-
includes
DescribeTaskExecutionResponse.Builder includes(Collection<FilterRule> 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
DescribeTaskExecutionResponse.Builder includes(FilterRule... 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
DescribeTaskExecutionResponse.Builder includes(Consumer<FilterRule.Builder>... 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.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#includes(List.) - 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:
#includes(java.util.Collection)
-
startTime
DescribeTaskExecutionResponse.Builder startTime(Instant 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
DescribeTaskExecutionResponse.Builder estimatedFilesToTransfer(Long 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
PREPARINGphase before theTRANSFERRINGphase. 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'sPREPARINGphase before theTRANSFERRINGphase. 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
DescribeTaskExecutionResponse.Builder estimatedBytesToTransfer(Long 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
DescribeTaskExecutionResponse.Builder filesTransferred(Long 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
TRANSFERRINGphase 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'sTRANSFERRINGphase 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
DescribeTaskExecutionResponse.Builder bytesWritten(Long 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
DescribeTaskExecutionResponse.Builder bytesTransferred(Long 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
DescribeTaskExecutionResponse.Builder result(TaskExecutionResultDetail 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.Builderavoiding the need to create one manually viaTaskExecutionResultDetail.builder().When the
Consumercompletes,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:
result(TaskExecutionResultDetail)
-
bytesCompressed
DescribeTaskExecutionResponse.Builder bytesCompressed(Long bytesCompressed)
The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than
BytesTransferredunless 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 thanBytesTransferredunless the data isn't compressible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskReportConfig
DescribeTaskExecutionResponse.Builder taskReportConfig(TaskReportConfig 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.Builderavoiding the need to create one manually viaTaskReportConfig.builder().When the
Consumercompletes,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:
taskReportConfig(TaskReportConfig)
-
filesDeleted
DescribeTaskExecutionResponse.Builder filesDeleted(Long 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
DescribeTaskExecutionResponse.Builder filesSkipped(Long 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
DescribeTaskExecutionResponse.Builder filesVerified(Long 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
DescribeTaskExecutionResponse.Builder reportResult(ReportResult 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.Builderavoiding the need to create one manually viaReportResult.builder().When the
Consumercompletes,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:
reportResult(ReportResult)
-
estimatedFilesToDelete
DescribeTaskExecutionResponse.Builder estimatedFilesToDelete(Long 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.
-
-