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