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