public interface FileUpload extends ObjectTransfer
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CompletedFileUpload> |
completionFuture() |
ResumableFileUpload |
pause()
Pauses the current upload operation and return the information that can
be used to resume the upload at a later time.
|
progressResumableFileUpload pause()
The information object is serializable for persistent storage until it should be resumed.
See ResumableFileUpload for supported formats.
Currently, it's only supported if the underlying S3AsyncClient is CRT-based (created via
S3AsyncClient.crtBuilder() or S3AsyncClient.crtCreate()).
It will throw UnsupportedOperationException if the S3TransferManager is created
with a non CRT-based S3 client (created via S3AsyncClient.builder()).
ResumableFileUpload that can be used to resume the upload.CompletableFuture<CompletedFileUpload> completionFuture()
completionFuture in interface TransferCopyright © 2023. All rights reserved.