@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class GetObjectResponse extends BmcResponse
Modifier and Type | Class and Description |
---|---|
static class |
GetObjectResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetObjectResponse.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.
|
Range |
getContentRange()
Content-Range header for range requests, per RFC
7233.
|
String |
getContentType()
Content-Type header, as described in RFC
2616.
|
String |
getETag()
The entity tag (ETag) for the object.
|
Date |
getExpires()
The date and time after which the object is no longer cached by a browser, proxy, or other
caching entity.
|
InputStream |
getInputStream()
The returned java.io.InputStream instance, or null if
isNotModified() is true. |
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.
|
Map<String,String> |
getOpcMeta()
The user-defined metadata for the object.
|
String |
getOpcMultipartMd5()
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
|
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 Range getContentRange()
Content-Range header for range requests, per RFC 7233.
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 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
public Date getExpires()
The date and time after which the object is no longer cached by a browser, proxy, or other caching entity. See RFC 2616.
public InputStream getInputStream()
The returned java.io.InputStream instance, or null if isNotModified()
is true.
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 GetObjectResponse.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.