Class GetRecordContentResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.datalabelingservicedataplane.responses.GetRecordContentResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public class GetRecordContentResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetRecordContentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRecordContentResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
String
getCacheControl()
Cache-control allows us to tell browsers to cache assets, how long to store them, and whether to validate them.String
getContentDisposition()
The content disposition of the body, as described in RFC 2616, section 19.5.1.Long
getContentLength()
The content size of the body in bytes.String
getContentType()
The content type as described in RFC 2616, section 14.17.String
getEtag()
For optimistic concurrency control.InputStream
getInputStream()
The returned java.io.InputStream instance, or null ifisNotModified()
is true.String
getOpcRequestId()
A unique Oracle-assigned identifier for the request.int
hashCode()
boolean
isNotModified()
Flag to indicate whether or not the object was modified.String
toString()
-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getEtag
public String getEtag()
For optimistic concurrency control.See if-match.
- Returns:
- the value
-
getOpcRequestId
public String getOpcRequestId()
A unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Returns:
- the value
-
getContentLength
public Long getContentLength()
The content size of the body in bytes.- Returns:
- the value
-
getContentDisposition
public String getContentDisposition()
The content disposition of the body, as described in RFC 2616, section 19.5.1.- Returns:
- the value
-
getContentType
public String getContentType()
The content type as described in RFC 2616, section 14.17.- Returns:
- the value
-
getCacheControl
public String getCacheControl()
Cache-control allows us to tell browsers to cache assets, how long to store them, and whether to validate them.- Returns:
- the value
-
getInputStream
public InputStream getInputStream()
The returned java.io.InputStream instance, or null ifisNotModified()
is true.- Returns:
- the value
-
isNotModified
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’).
- Parameters:
true
- if the object was not modified
-
builder
public static GetRecordContentResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBmcResponse
-
-