CopyableBuilder<HeadObjectRequest.Builder,HeadObjectRequest>
, SdkBuilder<HeadObjectRequest.Builder,HeadObjectRequest>
public static interface HeadObjectRequest.Builder extends CopyableBuilder<HeadObjectRequest.Builder,HeadObjectRequest>
Modifier and Type | Method | Description |
---|---|---|
HeadObjectRequest.Builder |
bucket(String bucket) |
|
HeadObjectRequest.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).
|
HeadObjectRequest.Builder |
ifModifiedSince(Date ifModifiedSince) |
Return the object only if it has been modified since the specified time, otherwise return a 304 (not
modified).
|
HeadObjectRequest.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).
|
HeadObjectRequest.Builder |
ifUnmodifiedSince(Date ifUnmodifiedSince) |
Return the object only if it has not been modified since the specified time, otherwise return a 412
(precondition failed).
|
HeadObjectRequest.Builder |
key(String key) |
|
HeadObjectRequest.Builder |
partNumber(Integer partNumber) |
Part number of the object being read.
|
HeadObjectRequest.Builder |
range(String range) |
Downloads the specified range bytes of an object.
|
HeadObjectRequest.Builder |
requestPayer(String requestPayer) |
|
HeadObjectRequest.Builder |
requestPayer(RequestPayer requestPayer) |
|
HeadObjectRequest.Builder |
sseCustomerAlgorithm(String sseCustomerAlgorithm) |
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
HeadObjectRequest.Builder |
sseCustomerKey(String sseCustomerKey) |
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
HeadObjectRequest.Builder |
sseCustomerKeyMD5(String sseCustomerKeyMD5) |
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
HeadObjectRequest.Builder |
versionId(String versionId) |
VersionId used to reference a specific version of the object.
|
copy
apply, build
HeadObjectRequest.Builder bucket(String bucket)
bucket
- HeadObjectRequest.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).HeadObjectRequest.Builder ifModifiedSince(Date ifModifiedSince)
ifModifiedSince
- Return the object only if it has been modified since the specified time, otherwise return a 304 (not
modified).HeadObjectRequest.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).HeadObjectRequest.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).HeadObjectRequest.Builder key(String key)
key
- HeadObjectRequest.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.HeadObjectRequest.Builder versionId(String versionId)
versionId
- VersionId used to reference a specific version of the object.HeadObjectRequest.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
sseCustomerAlgorithm
- Specifies the algorithm to use to when encrypting the object (e.g., AES256).HeadObjectRequest.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.HeadObjectRequest.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.HeadObjectRequest.Builder requestPayer(String requestPayer)
requestPayer
- RequestPayer
HeadObjectRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- RequestPayer
HeadObjectRequest.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' HEAD request for the part specified. Useful querying about the size of the part
and the number of parts in this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.