public static class DownloadPdfContentResponse.Builder extends Object implements BmcResponse.Builder<DownloadPdfContentResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DownloadPdfContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
DownloadPdfContentResponse |
build()
Build the response object.
|
DownloadPdfContentResponse.Builder |
contentDisposition(String contentDisposition)
Set content to download
|
DownloadPdfContentResponse.Builder |
contentLength(Integer contentLength)
Set the content length to download
|
DownloadPdfContentResponse.Builder |
contentType(String contentType)
Set the content type to download
|
DownloadPdfContentResponse.Builder |
copy(DownloadPdfContentResponse o)
Copy method to populate the builder with values from the given instance.
|
DownloadPdfContentResponse.Builder |
headers(Map<String,List<String>> headers) |
DownloadPdfContentResponse.Builder |
inputStream(InputStream inputStream)
The returned
java.io.InputStream instance. |
DownloadPdfContentResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public DownloadPdfContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<DownloadPdfContentResponse>
public DownloadPdfContentResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<DownloadPdfContentResponse>
public DownloadPdfContentResponse.Builder opcRequestId(String opcRequestId)
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 DownloadPdfContentResponse.Builder contentDisposition(String contentDisposition)
Set content to download
contentDisposition
- the value to setpublic DownloadPdfContentResponse.Builder contentType(String contentType)
Set the content type to download
contentType
- the value to setpublic DownloadPdfContentResponse.Builder contentLength(Integer contentLength)
Set the content length to download
contentLength
- the value to setpublic DownloadPdfContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream
instance.
inputStream
- the value to setpublic DownloadPdfContentResponse.Builder copy(DownloadPdfContentResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<DownloadPdfContentResponse>
o
- other request from which to copy valuespublic DownloadPdfContentResponse build()
Build the response object.
build
in interface BmcResponse.Builder<DownloadPdfContentResponse>
Copyright © 2016–2024. All rights reserved.