Package com.oracle.bmc.datacc.responses
Class GetVmInstanceResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.responses.GetVmInstanceResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetVmInstanceResponse>
- Enclosing class:
- GetVmInstanceResponse
public static class GetVmInstanceResponse.Builder extends Object implements BmcResponse.Builder<GetVmInstanceResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetVmInstanceResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetVmInstanceResponsebuild()Build the response object.GetVmInstanceResponse.Buildercopy(GetVmInstanceResponse o)Copy method to populate the builder with values from the given instance.GetVmInstanceResponse.Builderetag(String etag)For Optimistic concurrency control.GetVmInstanceResponse.Builderheaders(Map<String,List<String>> headers)GetVmInstanceResponse.Builderlocation(String location)The full URI of the resource.GetVmInstanceResponse.BuilderopcRequestId(String opcRequestId)Unique identifier assigned by Oracle for the request.GetVmInstanceResponse.BuildervmInstance(VmInstance vmInstance)The returned VmInstance instance.-
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 GetVmInstanceResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetVmInstanceResponse>
-
headers
public GetVmInstanceResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetVmInstanceResponse>
-
opcRequestId
public GetVmInstanceResponse.Builder opcRequestId(String opcRequestId)
Unique identifier assigned by Oracle for the request.If you need to contact Oracle about a particular request, then please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
etag
public GetVmInstanceResponse.Builder etag(String etag)
For Optimistic concurrency control.See the if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
location
public GetVmInstanceResponse.Builder location(String location)
The full URI of the resource.- Parameters:
location- the value to set- Returns:
- this builder
-
vmInstance
public GetVmInstanceResponse.Builder vmInstance(VmInstance vmInstance)
The returned VmInstance instance.- Parameters:
vmInstance- the value to set- Returns:
- this builder
-
copy
public GetVmInstanceResponse.Builder copy(GetVmInstanceResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetVmInstanceResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetVmInstanceResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetVmInstanceResponse>- Returns:
- the response object
-
-