Class ReadSandboxFileResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaisandbox.responses.ReadSandboxFileResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ReadSandboxFileResponse>
- Enclosing class:
- ReadSandboxFileResponse
public static class ReadSandboxFileResponse.Builder extends Object implements BmcResponse.Builder<ReadSandboxFileResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadSandboxFileResponse.Builder__httpStatusCode__(int __httpStatusCode__)ReadSandboxFileResponsebuild()Build the response object.ReadSandboxFileResponse.Buildercopy(ReadSandboxFileResponse o)Copy method to populate the builder with values from the given instance.ReadSandboxFileResponse.Builderheaders(Map<String,List<String>> headers)ReadSandboxFileResponse.BuilderinputStream(InputStream inputStream)The returned java.io.InputStream instance.ReadSandboxFileResponse.BuilderopcContentSha256(String opcContentSha256)Base64-encoded SHA-256 checksum of the sandbox file content.ReadSandboxFileResponse.BuilderopcRequestId(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 ReadSandboxFileResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ReadSandboxFileResponse>
-
headers
public ReadSandboxFileResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ReadSandboxFileResponse>
-
opcRequestId
public ReadSandboxFileResponse.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
-
opcContentSha256
public ReadSandboxFileResponse.Builder opcContentSha256(String opcContentSha256)
Base64-encoded SHA-256 checksum of the sandbox file content.- Parameters:
opcContentSha256- the value to set- Returns:
- this builder
-
inputStream
public ReadSandboxFileResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance.- Parameters:
inputStream- the value to set- Returns:
- this builder
-
copy
public ReadSandboxFileResponse.Builder copy(ReadSandboxFileResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ReadSandboxFileResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ReadSandboxFileResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ReadSandboxFileResponse>- Returns:
- the response object
-
-