public static class GetRecordPreviewContentResponse.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GetRecordPreviewContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetRecordPreviewContentResponse |
build() |
GetRecordPreviewContentResponse.Builder |
cacheControl(String cacheControl)
Cache-control allows us to tell browsers to cache assets, how long to store them, and whether to validate them.
|
GetRecordPreviewContentResponse.Builder |
contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
|
GetRecordPreviewContentResponse.Builder |
contentLength(Long contentLength)
The content size of the body in bytes.
|
GetRecordPreviewContentResponse.Builder |
contentType(String contentType)
The content type as described in RFC 2616, section 14.17.
|
GetRecordPreviewContentResponse.Builder |
copy(GetRecordPreviewContentResponse o)
Copy method to populate the builder with values from the given instance.
|
GetRecordPreviewContentResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetRecordPreviewContentResponse.Builder |
inputStream(InputStream inputStream)
The returned java.io.InputStream instance, or null if
GetRecordPreviewContentResponse.isNotModified() is true. |
GetRecordPreviewContentResponse.Builder |
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.
|
GetRecordPreviewContentResponse.Builder |
opcRequestId(String opcRequestId)
A unique Oracle-assigned identifier for the request.
|
String |
toString() |
public GetRecordPreviewContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
public GetRecordPreviewContentResponse.Builder copy(GetRecordPreviewContentResponse o)
Copy method to populate the builder with values from the given instance.
public GetRecordPreviewContentResponse build()
public GetRecordPreviewContentResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
this
.public GetRecordPreviewContentResponse.Builder opcRequestId(String opcRequestId)
A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
this
.public GetRecordPreviewContentResponse.Builder contentLength(Long contentLength)
The content size of the body in bytes.
this
.public GetRecordPreviewContentResponse.Builder contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
this
.public GetRecordPreviewContentResponse.Builder contentType(String contentType)
The content type as described in RFC 2616, section 14.17.
this
.public GetRecordPreviewContentResponse.Builder cacheControl(String cacheControl)
Cache-control allows us to tell browsers to cache assets, how long to store them, and whether to validate them.
this
.public GetRecordPreviewContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance, or null if GetRecordPreviewContentResponse.isNotModified()
is true.
this
.public GetRecordPreviewContentResponse.Builder isNotModified(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’).
this
.Copyright © 2016–2022. All rights reserved.