Package com.oracle.bmc.devops.responses
Class GetObjectContentResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.responses.GetObjectContentResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetObjectContentResponse>
 - Enclosing class:
- GetObjectContentResponse
 
 public static class GetObjectContentResponse.Builder extends Object implements BmcResponse.Builder<GetObjectContentResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetObjectContentResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetObjectContentResponsebuild()Build the response object.GetObjectContentResponse.BuildercontentDisposition(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.BuildercontentType(String contentType)Content type refers to content of a file which is transferred via HTTPGetObjectContentResponse.Buildercopy(GetObjectContentResponse o)Copy method to populate the builder with values from the given instance.GetObjectContentResponse.Builderheaders(Map<String,List<String>> headers)GetObjectContentResponse.BuilderinputStream(InputStream inputStream)The returned java.io.InputStream instance.GetObjectContentResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetObjectContentResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetObjectContentResponse>
 
 - 
headerspublic GetObjectContentResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetObjectContentResponse>
 
 - 
opcRequestIdpublic 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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
contentTypepublic GetObjectContentResponse.Builder contentType(String contentType) Content type refers to content of a file which is transferred via HTTP- Parameters:
- contentType- the value to set
- Returns:
- this builder
 
 - 
contentDispositionpublic 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.- Parameters:
- contentDisposition- the value to set
- Returns:
- this builder
 
 - 
inputStreampublic GetObjectContentResponse.Builder inputStream(InputStream inputStream) The returned java.io.InputStream instance.- Parameters:
- inputStream- the value to set
- Returns:
- this builder
 
 - 
copypublic GetObjectContentResponse.Builder copy(GetObjectContentResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetObjectContentResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetObjectContentResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetObjectContentResponse>
- Returns:
- the response object
 
 
- 
 
-