public static class GetObjectContentResponse.Builder extends Object implements BmcResponse.Builder<GetObjectContentResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetObjectContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetObjectContentResponse |
build()
Build the response object.
|
GetObjectContentResponse.Builder |
contentDisposition(String contentDisposition)
The Content-Disposition response-header field has been proposed as a means for the origin
server to suggest a default filename if the user requests that the content is saved to a
file.
|
GetObjectContentResponse.Builder |
contentType(String contentType)
Content type refers to content of a file which is transferred via HTTP
|
GetObjectContentResponse.Builder |
copy(GetObjectContentResponse o)
Copy method to populate the builder with values from the given instance.
|
GetObjectContentResponse.Builder |
headers(Map<String,List<String>> headers) |
GetObjectContentResponse.Builder |
inputStream(InputStream inputStream)
The returned
java.io.InputStream instance. |
GetObjectContentResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public GetObjectContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetObjectContentResponse>
public GetObjectContentResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetObjectContentResponse>
public GetObjectContentResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
opcRequestId
- the value to setpublic GetObjectContentResponse.Builder contentType(String contentType)
Content type refers to content of a file which is transferred via HTTP
contentType
- the value to setpublic GetObjectContentResponse.Builder contentDisposition(String contentDisposition)
The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename if the user requests that the content is saved to a file.
contentDisposition
- the value to setpublic GetObjectContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream
instance.
inputStream
- the value to setpublic GetObjectContentResponse.Builder copy(GetObjectContentResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetObjectContentResponse>
o
- other request from which to copy valuespublic GetObjectContentResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetObjectContentResponse>
Copyright © 2016–2024. All rights reserved.