ToCopyableBuilder<HeadObjectResponse.Builder,HeadObjectResponse>
@Generated("software.amazon.awssdk:codegen") public class HeadObjectResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<HeadObjectResponse.Builder,HeadObjectResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
HeadObjectResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
acceptRanges() |
|
static HeadObjectResponse.Builder |
builder() |
|
String |
cacheControl() |
Specifies caching behavior along the request/reply chain.
|
String |
contentDisposition() |
Specifies presentational information for the object.
|
String |
contentEncoding() |
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
String |
contentLanguage() |
The language the content is in.
|
Long |
contentLength() |
Size of the body in bytes.
|
String |
contentType() |
A standard MIME type describing the format of the object data.
|
Boolean |
deleteMarker() |
Specifies whether the object retrieved was (true) or was not (false) a Delete Marker.
|
boolean |
equals(Object obj) |
|
String |
eTag() |
An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL
|
String |
expiration() |
If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header.
|
Date |
expires() |
The date and time at which the object is no longer cacheable.
|
int |
hashCode() |
|
Date |
lastModified() |
Last modified date of the object
|
Map<String,String> |
metadata() |
A map of metadata to store with the object in S3.
|
Integer |
missingMeta() |
This is set to the number of metadata entries not returned in x-amz-meta headers.
|
Integer |
partsCount() |
The count of parts this object has.
|
String |
replicationStatus() |
|
String |
requestCharged() |
|
String |
restore() |
Provides information about object restoration operation and expiration time of the restored object copy.
|
static Class<? extends HeadObjectResponse.Builder> |
serializableBuilderClass() |
|
String |
serverSideEncryption() |
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
|
String |
sseCustomerAlgorithm() |
If server-side encryption with a customer-provided encryption key was requested, the response will include this
header confirming the encryption algorithm used.
|
String |
sseCustomerKeyMD5() |
If server-side encryption with a customer-provided encryption key was requested, the response will include this
header to provide round trip message integrity verification of the customer-provided encryption key.
|
String |
ssekmsKeyId() |
If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the
object.
|
String |
storageClass() |
|
HeadObjectResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
versionId() |
Version of the object.
|
String |
websiteRedirectLocation() |
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket
or to an external URL.
|
setSdkHttpMetadata, setSdkResponseMetadata
public Boolean deleteMarker()
public String acceptRanges()
public String expiration()
public String restore()
public Date lastModified()
public Long contentLength()
public String eTag()
public Integer missingMeta()
public String versionId()
public String cacheControl()
public String contentDisposition()
public String contentEncoding()
public String contentLanguage()
public String contentType()
public Date expires()
public String websiteRedirectLocation()
public String serverSideEncryption()
ServerSideEncryption
public Map<String,String> metadata()
public String sseCustomerAlgorithm()
public String sseCustomerKeyMD5()
public String ssekmsKeyId()
public String storageClass()
StorageClass
public String requestCharged()
RequestCharged
public String replicationStatus()
ReplicationStatus
public Integer partsCount()
public HeadObjectResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HeadObjectResponse.Builder,HeadObjectResponse>
public static HeadObjectResponse.Builder builder()
public static Class<? extends HeadObjectResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.