Interface ResumableFileDownload.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ResumableFileDownload.Builder,,- ResumableFileDownload> - SdkBuilder<ResumableFileDownload.Builder,- ResumableFileDownload> 
- Enclosing class:
- ResumableFileDownload
public static interface ResumableFileDownload.Builder
extends CopyableBuilder<ResumableFileDownload.Builder,ResumableFileDownload> 
- 
Method SummaryModifier and TypeMethodDescriptionbytesTransferred(Long bytesTransferred) Sets the number of bytes transferredcompletedParts(List<Integer> completedParts) For multipart download, set the lists of parts that were successfully completed and saved to the file.default ResumableFileDownload.BuilderdownloadFileRequest(Consumer<DownloadFileRequest.Builder> downloadFileRequestBuilder) TheDownloadFileRequestrequestdownloadFileRequest(DownloadFileRequest downloadFileRequest) Sets the download file requestfileLastModified(Instant lastModified) Sets the last modified time of the objects3ObjectEtag(String s3ObjectEtag) Sets the Etag of the objects3ObjectLastModified(Instant s3ObjectLastModified) Sets the last modified time of the objecttotalSizeInBytes(Long totalSizeInBytes) Sets the total transfer size in bytesMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, build
- 
Method Details- 
downloadFileRequestSets the download file request- Parameters:
- downloadFileRequest- the download file request
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
downloadFileRequestdefault ResumableFileDownload.Builder downloadFileRequest(Consumer<DownloadFileRequest.Builder> downloadFileRequestBuilder) TheDownloadFileRequestrequestThis is a convenience method that creates an instance of the DownloadFileRequestbuilder avoiding the need to create one manually viaDownloadFileRequest.builder().- Parameters:
- downloadFileRequestBuilder- the download file request builder
- Returns:
- a reference to this object so that method calls can be chained together.
- See Also:
 
- 
bytesTransferredSets the number of bytes transferred- Parameters:
- bytesTransferred- the number of bytes transferred
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
totalSizeInBytesSets the total transfer size in bytes- Parameters:
- totalSizeInBytes- the transfer size in bytes
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
s3ObjectLastModifiedSets the last modified time of the object- Parameters:
- s3ObjectLastModified- the last modified time of the object
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
s3ObjectEtagSets the Etag of the object- Parameters:
- s3ObjectEtag- the Etag of the object
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
fileLastModifiedSets the last modified time of the object- Parameters:
- lastModified- the last modified time of the object
- Returns:
- a reference to this object so that method calls can be chained together.
 
- 
completedPartsFor multipart download, set the lists of parts that were successfully completed and saved to the file.- Parameters:
- completedParts- the list of completed parts saved to file.
- Returns:
- a reference to this object so that method calls can be chained together.
 
 
-