Class PresignedDownloadRequest<ReturnT>
java.lang.Object
software.amazon.awssdk.transfer.s3.model.PresignedDownloadRequest<ReturnT>
- All Implemented Interfaces:
TransferObjectRequest,TransferRequest,ToCopyableBuilder<PresignedDownloadRequest.TypedBuilder<ReturnT>,PresignedDownloadRequest<ReturnT>>
@SdkPublicApi
public final class PresignedDownloadRequest<ReturnT>
extends Object
implements TransferObjectRequest, ToCopyableBuilder<PresignedDownloadRequest.TypedBuilder<ReturnT>,PresignedDownloadRequest<ReturnT>>
Represents the request to download an object using a pre-signed URL through the given
AsyncResponseTransformer. For downloading to a file,
you may use PresignedDownloadFileRequest instead.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe type-parameterized version ofPresignedDownloadRequest.UntypedBuilder.static interfaceInitial calls tobuilder()return anPresignedDownloadRequest.UntypedBuilder, where the builder is not yet parameterized with the generic type associated withPresignedDownloadRequest. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder that can be used to create aPresignedDownloadRequest.booleaninthashCode()TheAsyncResponseTransformerthat response contents will be written to.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 aPresignedDownloadRequest.- 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<PresignedDownloadRequest.TypedBuilder<ReturnT>,PresignedDownloadRequest<ReturnT>> - Returns:
- a builder for type T
-
responseTransformer
TheAsyncResponseTransformerthat response contents will be written to.- Returns:
- the response transformer
-
presignedUrlDownloadRequest
- Returns:
- The
PresignedUrlDownloadRequestrequest that should be used for the download
-
transferListeners
- Specified by:
transferListenersin interfaceTransferObjectRequest- Returns:
- the List of transferListeners.
- See Also:
-
equals
-
hashCode
-
toString
-