Class PresignedUrlDownloadRequest
java.lang.Object
software.amazon.awssdk.services.s3.presignedurl.model.PresignedUrlDownloadRequest
- All Implemented Interfaces:
ToCopyableBuilder<PresignedUrlDownloadRequest.Builder,PresignedUrlDownloadRequest>
@SdkPublicApi
public final class PresignedUrlDownloadRequest
extends Object
implements ToCopyableBuilder<PresignedUrlDownloadRequest.Builder,PresignedUrlDownloadRequest>
Request object for performing download operations using a presigned URL.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()ifMatch()Return the object only if its entity tag (ETag) is the same as the one specified in this header, otherwise return a 412 (precondition failed) error.The presigned URL for the S3 object.range()Specifies the byte range of an object.static Class<? extends PresignedUrlDownloadRequest.Builder>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
presignedUrl
The presigned URL for the S3 object. This URL contains all necessary authentication information and can be used to download the object without additional credentials.
Note: Presigned URLs have a limited lifetime and will expire after the specified duration. Ensure the URL is used before expiration.- Returns:
- The presigned URL for the S3 object
-
range
Specifies the byte range of an object. For more information about the HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
Note: Amazon S3 doesn't support retrieving multiple ranges of data perGETrequest.- Returns:
- The HTTP Range header value, or null if not specified.
-
ifMatch
Return the object only if its entity tag (ETag) is the same as the one specified in this header, otherwise return a 412 (precondition failed) error.
- Returns:
- The If-Match header value, or null if not specified.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PresignedUrlDownloadRequest.Builder,PresignedUrlDownloadRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public int hashCode() -
equals
-
toString
-