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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 HTTPGetObjectContentResponse.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.-
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 GetObjectContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetObjectContentResponse>
-
headers
public GetObjectContentResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetObjectContentResponse>
-
opcRequestId
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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
contentType
public 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
-
contentDisposition
public 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
-
inputStream
public GetObjectContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance.- Parameters:
inputStream
- the value to set- Returns:
- this builder
-
copy
public GetObjectContentResponse.Builder copy(GetObjectContentResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetObjectContentResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetObjectContentResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetObjectContentResponse>
- Returns:
- the response object
-
-