Class DefaultFileDownload
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.model.DefaultFileDownload
- All Implemented Interfaces:
 FileDownload,ObjectTransfer,Transfer
- 
Constructor Summary
ConstructorsConstructorDescriptionDefaultFileDownload(CompletableFuture<CompletedFileDownload> completedFileDownloadFuture, TransferProgress progress, Supplier<DownloadFileRequest> requestSupplier, ResumableFileDownload resumedDownload)  - 
Method Summary
Modifier and TypeMethodDescriptionpause()Pause the current download operation and returns the information that can be used to resume the download at a later time.progress()The statefulTransferProgressassociated with this transfer.toString() 
- 
Constructor Details
- 
DefaultFileDownload
public DefaultFileDownload(CompletableFuture<CompletedFileDownload> completedFileDownloadFuture, TransferProgress progress, Supplier<DownloadFileRequest> requestSupplier, ResumableFileDownload resumedDownload)  
 - 
 - 
Method Details
- 
progress
Description copied from interface:ObjectTransferThe statefulTransferProgressassociated with this transfer.- Specified by:
 progressin interfaceObjectTransfer
 - 
pause
Description copied from interface:FileDownloadPause the current download operation and returns the information that can be used to resume the download at a later time.The information object is serializable for persistent storage until it should be resumed. See
ResumableFileDownloadfor supported formats.- Specified by:
 pausein interfaceFileDownload- Returns:
 - A 
ResumableFileDownloadthat can be used to resume the download. 
 - 
completionFuture
- Specified by:
 completionFuturein interfaceFileDownload- Specified by:
 completionFuturein interfaceTransfer- Returns:
 - The future that will be completed when this transfer is complete.
 
 - 
toString
 
 -