Class DefaultDownload<ReturnT>
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.model.DefaultDownload<ReturnT>
- All Implemented Interfaces:
Download<ReturnT>,ObjectTransfer,Transfer
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDownload(CompletableFuture<CompletedDownload<ReturnT>> completionFuture, TransferProgress progress) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()progress()The statefulTransferProgressassociated with this transfer.toString()
-
Constructor Details
-
DefaultDownload
public DefaultDownload(CompletableFuture<CompletedDownload<ReturnT>> completionFuture, TransferProgress progress)
-
-
Method Details
-
completionFuture
- Specified by:
completionFuturein interfaceDownload<ReturnT>- Specified by:
completionFuturein interfaceTransfer- Returns:
- The future that will be completed when this transfer is complete.
-
progress
Description copied from interface:ObjectTransferThe statefulTransferProgressassociated with this transfer.- Specified by:
progressin interfaceObjectTransfer
-
equals
-
hashCode
-
toString
-