Class DownloadFileRequest
java.lang.Object
software.amazon.awssdk.transfer.s3.model.DownloadFileRequest
- All Implemented Interfaces:
TransferObjectRequest,TransferRequest,ToCopyableBuilder<DownloadFileRequest.Builder,DownloadFileRequest>
public final class DownloadFileRequest
extends Object
implements TransferObjectRequest, ToCopyableBuilder<DownloadFileRequest.Builder,DownloadFileRequest>
Download an object identified by the bucket and key from S3 to a local file. For non-file-based downloads, you may use
DownloadRequest instead.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA builder for aDownloadFileRequest, created withbuilder() -
Method Summary
Modifier and TypeMethodDescriptionstatic DownloadFileRequest.Builderbuilder()Creates a builder that can be used to create aDownloadFileRequest.ThePathto file that response contents will be written to.booleaninthashCode()static Class<? extends DownloadFileRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.toString()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Creates a builder that can be used to create aDownloadFileRequest.- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DownloadFileRequest.Builder,DownloadFileRequest> - Returns:
- a builder for type T
-
destination
-
getObjectRequest
- Returns:
- The
GetObjectRequestrequest that should be used for the download
-
transferListeners
- Specified by:
transferListenersin interfaceTransferObjectRequest- Returns:
- List of
TransferListeners that will be notified as part of this request.
-
equals
-
hashCode
-
toString
-
serializableBuilderClass
-