CopyableBuilder<GetObjectRequest.Builder,GetObjectRequest>
, SdkBuilder<GetObjectRequest.Builder,GetObjectRequest>
public static interface GetObjectRequest.Builder extends CopyableBuilder<GetObjectRequest.Builder,GetObjectRequest>
Modifier and Type | Method | Description |
---|---|---|
GetObjectRequest.Builder |
bucket(String bucket) |
|
GetObjectRequest.Builder |
ifMatch(String ifMatch) |
Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412
(precondition failed).
|
GetObjectRequest.Builder |
ifModifiedSince(Date ifModifiedSince) |
Return the object only if it has been modified since the specified time, otherwise return a 304 (not
modified).
|
GetObjectRequest.Builder |
ifNoneMatch(String ifNoneMatch) |
Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304
(not modified).
|
GetObjectRequest.Builder |
ifUnmodifiedSince(Date ifUnmodifiedSince) |
Return the object only if it has not been modified since the specified time, otherwise return a 412
(precondition failed).
|
GetObjectRequest.Builder |
key(String key) |
|
GetObjectRequest.Builder |
partNumber(Integer partNumber) |
Part number of the object being read.
|
GetObjectRequest.Builder |
range(String range) |
Downloads the specified range bytes of an object.
|
GetObjectRequest.Builder |
requestPayer(String requestPayer) |
|
GetObjectRequest.Builder |
requestPayer(RequestPayer requestPayer) |
|
GetObjectRequest.Builder |
responseCacheControl(String responseCacheControl) |
Sets the Cache-Control header of the response.
|
GetObjectRequest.Builder |
responseContentDisposition(String responseContentDisposition) |
Sets the Content-Disposition header of the response
|
GetObjectRequest.Builder |
responseContentEncoding(String responseContentEncoding) |
Sets the Content-Encoding header of the response.
|
GetObjectRequest.Builder |
responseContentLanguage(String responseContentLanguage) |
Sets the Content-Language header of the response.
|
GetObjectRequest.Builder |
responseContentType(String responseContentType) |
Sets the Content-Type header of the response.
|
GetObjectRequest.Builder |
responseExpires(Date responseExpires) |
Sets the Expires header of the response.
|
GetObjectRequest.Builder |
sseCustomerAlgorithm(String sseCustomerAlgorithm) |
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
GetObjectRequest.Builder |
sseCustomerKey(String sseCustomerKey) |
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
GetObjectRequest.Builder |
sseCustomerKeyMD5(String sseCustomerKeyMD5) |
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
GetObjectRequest.Builder |
versionId(String versionId) |
VersionId used to reference a specific version of the object.
|
copy
apply, build
GetObjectRequest.Builder bucket(String bucket)
bucket
- GetObjectRequest.Builder ifMatch(String ifMatch)
ifMatch
- Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a
412 (precondition failed).GetObjectRequest.Builder ifModifiedSince(Date ifModifiedSince)
ifModifiedSince
- Return the object only if it has been modified since the specified time, otherwise return a 304 (not
modified).GetObjectRequest.Builder ifNoneMatch(String ifNoneMatch)
ifNoneMatch
- Return the object only if its entity tag (ETag) is different from the one specified, otherwise return
a 304 (not modified).GetObjectRequest.Builder ifUnmodifiedSince(Date ifUnmodifiedSince)
ifUnmodifiedSince
- Return the object only if it has not been modified since the specified time, otherwise return a 412
(precondition failed).GetObjectRequest.Builder key(String key)
key
- GetObjectRequest.Builder range(String range)
range
- Downloads the specified range bytes of an object. For more information about the HTTP Range header, go
to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.GetObjectRequest.Builder responseCacheControl(String responseCacheControl)
responseCacheControl
- Sets the Cache-Control header of the response.GetObjectRequest.Builder responseContentDisposition(String responseContentDisposition)
responseContentDisposition
- Sets the Content-Disposition header of the responseGetObjectRequest.Builder responseContentEncoding(String responseContentEncoding)
responseContentEncoding
- Sets the Content-Encoding header of the response.GetObjectRequest.Builder responseContentLanguage(String responseContentLanguage)
responseContentLanguage
- Sets the Content-Language header of the response.GetObjectRequest.Builder responseContentType(String responseContentType)
responseContentType
- Sets the Content-Type header of the response.GetObjectRequest.Builder responseExpires(Date responseExpires)
responseExpires
- Sets the Expires header of the response.GetObjectRequest.Builder versionId(String versionId)
versionId
- VersionId used to reference a specific version of the object.GetObjectRequest.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
sseCustomerAlgorithm
- Specifies the algorithm to use to when encrypting the object (e.g., AES256).GetObjectRequest.Builder sseCustomerKey(String sseCustomerKey)
sseCustomerKey
- Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is
used to store the object and then it is discarded; Amazon does not store the encryption key. The key
must be appropriate for use with the algorithm specified in the
x-amz-server-side-encryption-customer-algorithm header.GetObjectRequest.Builder sseCustomerKeyMD5(String sseCustomerKeyMD5)
sseCustomerKeyMD5
- Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this
header for a message integrity check to ensure the encryption key was transmitted without error.GetObjectRequest.Builder requestPayer(String requestPayer)
requestPayer
- RequestPayer
GetObjectRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- RequestPayer
GetObjectRequest.Builder partNumber(Integer partNumber)
partNumber
- Part number of the object being read. This is a positive integer between 1 and 10,000. Effectively
performs a 'ranged' GET request for the part specified. Useful for downloading just a part of an
object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.