Class DownloadPdfContentResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.ospgateway.responses.DownloadPdfContentResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<DownloadPdfContentResponse>
- Enclosing class:
- DownloadPdfContentResponse
public static class DownloadPdfContentResponse.Builder extends Object implements BmcResponse.Builder<DownloadPdfContentResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadPdfContentResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
DownloadPdfContentResponse
build()
Build the response object.DownloadPdfContentResponse.Builder
contentDisposition(String contentDisposition)
Set content to downloadDownloadPdfContentResponse.Builder
contentLength(Integer contentLength)
Set the content length to downloadDownloadPdfContentResponse.Builder
contentType(String contentType)
Set the content type to downloadDownloadPdfContentResponse.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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public DownloadPdfContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<DownloadPdfContentResponse>
-
headers
public DownloadPdfContentResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<DownloadPdfContentResponse>
-
opcRequestId
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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
contentDisposition
public DownloadPdfContentResponse.Builder contentDisposition(String contentDisposition)
Set content to download- Parameters:
contentDisposition
- the value to set- Returns:
- this builder
-
contentType
public DownloadPdfContentResponse.Builder contentType(String contentType)
Set the content type to download- Parameters:
contentType
- the value to set- Returns:
- this builder
-
contentLength
public DownloadPdfContentResponse.Builder contentLength(Integer contentLength)
Set the content length to download- Parameters:
contentLength
- the value to set- Returns:
- this builder
-
inputStream
public DownloadPdfContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance.- Parameters:
inputStream
- the value to set- Returns:
- this builder
-
copy
public DownloadPdfContentResponse.Builder copy(DownloadPdfContentResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<DownloadPdfContentResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public DownloadPdfContentResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<DownloadPdfContentResponse>
- Returns:
- the response object
-
-