Class ResumableFileDownload

java.lang.Object
software.amazon.awssdk.transfer.s3.model.ResumableFileDownload
All Implemented Interfaces:
ResumableTransfer, ToCopyableBuilder<ResumableFileDownload.Builder,ResumableFileDownload>

An opaque token that holds the state and can be used to resume a paused download operation.

Serialization: When serializing this token, the following structures will not be preserved/persisted:

If the GetObjectRequest uses SSE-C, the customer key must be set again on a deserialized token before it is resumed:
resumable.copy(b -> b.downloadFileRequest(resumable.downloadFileRequest().copy(
    r -> r.getObjectRequest(resumable.downloadFileRequest().getObjectRequest().copy(p -> p.sseCustomerKey(key))))));
serializeToFile(Path) writes the file so that, on a POSIX file system, only its owner can read or write it.
See Also: