@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class HeadObjectResponse extends BmcResponse
Modifier and Type | Class and Description |
---|---|
static class |
HeadObjectResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static HeadObjectResponse.Builder |
builder()
Return a new builder for this response object.
|
boolean |
equals(Object o) |
ArchivalState |
getArchivalState()
Archival state of an object.
|
String |
getCacheControl()
Cache-Control header, as described in RFC
2616.
|
String |
getContentDisposition()
Content-Disposition header, as described in RFC
2616.
|
String |
getContentEncoding()
Content-Encoding header, as described in RFC
2616.
|
String |
getContentLanguage()
Content-Language header, as described in RFC
2616.
|
Long |
getContentLength()
The object size in bytes.
|
String |
getContentMd5()
Content-MD5 header, as described in RFC
2616.
|
String |
getContentType()
Content-Type header, as described in RFC
2616.
|
String |
getETag()
The entity tag (ETag) for the object.
|
Date |
getLastModified()
The object modification time, as described in RFC
2616.
|
String |
getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when
debugging.
|
String |
getOpcContentCrc32c()
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object.
|
String |
getOpcContentSha256()
Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during
upload.
|
String |
getOpcContentSha384()
Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during
upload.
|
Map<String,String> |
getOpcMeta()
The user-defined metadata for the object.
|
String |
getOpcMultipartMd5()
Only applicable to objects uploaded using multipart upload.
|
String |
getOpcMultipartSha256()
Only applicable to objects uploaded using multipart upload.
|
String |
getOpcMultipartSha384()
Only applicable to objects uploaded using multipart upload.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
StorageTier |
getStorageTier()
The storage tier that the object is stored in.
|
Date |
getTimeOfArchival()
Time that the object is returned to the archived state.
|
String |
getVersionId()
VersionId of the object requested
|
int |
hashCode() |
boolean |
isNotModified()
Flag to indicate whether or not the object was modified.
|
String |
toString() |
canEqual, get__httpStatusCode__, getHeaders
public String getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID.
public String getETag()
The entity tag (ETag) for the object.
public Map<String,String> getOpcMeta()
The user-defined metadata for the object.
public Long getContentLength()
The object size in bytes.
public String getContentMd5()
Content-MD5 header, as described in RFC 2616. Unavailable for objects uploaded using multipart upload.
public String getOpcMultipartMd5()
Only applicable to objects uploaded using multipart upload. Base-64 representation of the multipart object hash. The multipart object hash is calculated by taking the MD5 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the MD5 hash of the concatenated values.
public String getOpcContentCrc32c()
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object. Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum of the complete reconstructed object.
public String getOpcContentSha256()
Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. The base64-encoded SHA256 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload.
public String getOpcMultipartSha256()
Only applicable to objects uploaded using multipart upload. Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA256 hash. The multipart object hash is calculated by taking the SHA256 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA256 hash of the concatenated values.
public String getOpcContentSha384()
Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. The base64-encoded SHA384 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload.
public String getOpcMultipartSha384()
Only applicable to objects uploaded using multipart upload. Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA384 hash. The multipart object hash is calculated by taking the SHA384 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA384 hash of the concatenated values.
public String getContentType()
Content-Type header, as described in RFC 2616.
public String getContentLanguage()
Content-Language header, as described in RFC 2616.
public String getContentEncoding()
Content-Encoding header, as described in RFC 2616.
public String getCacheControl()
Cache-Control header, as described in RFC 2616.
public String getContentDisposition()
Content-Disposition header, as described in RFC 2616.
public Date getLastModified()
The object modification time, as described in RFC 2616.
public StorageTier getStorageTier()
The storage tier that the object is stored in.
public ArchivalState getArchivalState()
Archival state of an object. This field is set only for objects in Archive tier.
public Date getTimeOfArchival()
Time that the object is returned to the archived state. This field is only present for restored objects.
public String getVersionId()
VersionId of the object requested
public boolean isNotModified()
Flag to indicate whether or not the object was modified. If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’).
true
- if the object was not modifiedpublic static HeadObjectResponse.Builder builder()
Return a new builder for this response object.
public boolean equals(Object o)
equals
in class BmcResponse
public int hashCode()
hashCode
in class BmcResponse
Copyright © 2016–2024. All rights reserved.