public static class GetRecordPreviewContentResponse.Builder extends Object implements BmcResponse.Builder<GetRecordPreviewContentResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetRecordPreviewContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetRecordPreviewContentResponse |
build()
Build the response object.
|
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 |
headers(Map<String,List<String>> headers) |
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.
|
public GetRecordPreviewContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetRecordPreviewContentResponse>
public GetRecordPreviewContentResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetRecordPreviewContentResponse>
public GetRecordPreviewContentResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic 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.
opcRequestId
- the value to setpublic GetRecordPreviewContentResponse.Builder contentLength(Long contentLength)
The content size of the body in bytes.
contentLength
- the value to setpublic GetRecordPreviewContentResponse.Builder contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
contentDisposition
- the value to setpublic GetRecordPreviewContentResponse.Builder contentType(String contentType)
The content type as described in RFC 2616, section 14.17.
contentType
- the value to setpublic 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.
cacheControl
- the value to setpublic GetRecordPreviewContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance, or null if GetRecordPreviewContentResponse.isNotModified()
is true.
inputStream
- the value to setpublic 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’).
isNotModified
in interface BmcResponse.Builder<GetRecordPreviewContentResponse>
true
- if the object was not modifiedpublic GetRecordPreviewContentResponse.Builder copy(GetRecordPreviewContentResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetRecordPreviewContentResponse>
o
- other request from which to copy valuespublic GetRecordPreviewContentResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetRecordPreviewContentResponse>
Copyright © 2016–2024. All rights reserved.