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