Package com.oracle.bmc.datacc.requests
Class GetVmInstanceRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.requests.GetVmInstanceRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetVmInstanceRequest,Void>
- Enclosing class:
- GetVmInstanceRequest
public static class GetVmInstanceRequest.Builder extends Object implements BmcRequest.Builder<GetVmInstanceRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetVmInstanceRequestbuild()Build the instance of GetVmInstanceRequest as configured by this builderGetVmInstanceRequestbuildWithoutInvocationCallback()Build the instance of GetVmInstanceRequest as configured by this builderGetVmInstanceRequest.Buildercopy(GetVmInstanceRequest o)Copy method to populate the builder with values from the given instance.GetVmInstanceRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetVmInstanceRequest.BuilderopcRequestId(String opcRequestId)The client request identifier.GetVmInstanceRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetVmInstanceRequest.BuildervmInstanceId(String vmInstanceId)The OCID of the VM 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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
vmInstanceId
public GetVmInstanceRequest.Builder vmInstanceId(String vmInstanceId)
The OCID of the VM instance.- Parameters:
vmInstanceId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetVmInstanceRequest.Builder opcRequestId(String opcRequestId)
The client request identifier.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetVmInstanceRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetVmInstanceRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetVmInstanceRequest.Builder copy(GetVmInstanceRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetVmInstanceRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetVmInstanceRequest build()
Build the instance of GetVmInstanceRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<GetVmInstanceRequest,Void>- Returns:
- instance of GetVmInstanceRequest
-
buildWithoutInvocationCallback
public GetVmInstanceRequest buildWithoutInvocationCallback()
Build the instance of GetVmInstanceRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of GetVmInstanceRequest
-
-