public static interface ResumableFileDownload.Builder extends CopyableBuilder<ResumableFileDownload.Builder,ResumableFileDownload>
| Modifier and Type | Method and Description |
|---|---|
ResumableFileDownload.Builder |
bytesTransferred(Long bytesTransferred)
Sets the number of bytes transferred
|
default ResumableFileDownload.Builder |
downloadFileRequest(Consumer<DownloadFileRequest.Builder> downloadFileRequestBuilder)
The
DownloadFileRequest request |
ResumableFileDownload.Builder |
downloadFileRequest(DownloadFileRequest downloadFileRequest)
Sets the download file request
|
ResumableFileDownload.Builder |
fileLastModified(Instant lastModified)
Sets the last modified time of the object
|
ResumableFileDownload.Builder |
s3ObjectLastModified(Instant s3ObjectLastModified)
Sets the last modified time of the object
|
ResumableFileDownload.Builder |
totalSizeInBytes(Long totalSizeInBytes)
Sets the total transfer size in bytes
|
copyapplyMutation, buildResumableFileDownload.Builder downloadFileRequest(DownloadFileRequest downloadFileRequest)
downloadFileRequest - the download file requestdefault ResumableFileDownload.Builder downloadFileRequest(Consumer<DownloadFileRequest.Builder> downloadFileRequestBuilder)
DownloadFileRequest request
This is a convenience method that creates an instance of the DownloadFileRequest builder avoiding the
need to create one manually via DownloadFileRequest.builder().
downloadFileRequestBuilder - the download file request builderdownloadFileRequest(DownloadFileRequest)ResumableFileDownload.Builder bytesTransferred(Long bytesTransferred)
bytesTransferred - the number of bytes transferredResumableFileDownload.Builder totalSizeInBytes(Long totalSizeInBytes)
totalSizeInBytes - the transfer size in bytesResumableFileDownload.Builder s3ObjectLastModified(Instant s3ObjectLastModified)
s3ObjectLastModified - the last modified time of the objectResumableFileDownload.Builder fileLastModified(Instant lastModified)
lastModified - the last modified time of the objectCopyright © 2023. All rights reserved.