Package com.oracle.bmc.database.requests
Class UpdateVmClusterRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.UpdateVmClusterRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateVmClusterRequest,UpdateVmClusterDetails>
- Enclosing class:
- UpdateVmClusterRequest
public static class UpdateVmClusterRequest.Builder extends Object implements BmcRequest.Builder<UpdateVmClusterRequest,UpdateVmClusterDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVmClusterRequest.Builderbody$(UpdateVmClusterDetails body)Alternative setter for the body parameter.UpdateVmClusterRequestbuild()Build the instance of UpdateVmClusterRequest as configured by this builderUpdateVmClusterRequestbuildWithoutInvocationCallback()Build the instance of UpdateVmClusterRequest as configured by this builderUpdateVmClusterRequest.Buildercopy(UpdateVmClusterRequest o)Copy method to populate the builder with values from the given instance.UpdateVmClusterRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateVmClusterRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateVmClusterRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateVmClusterRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateVmClusterRequest.BuilderupdateVmClusterDetails(UpdateVmClusterDetails updateVmClusterDetails)Request to update the attributes of a VM cluster.UpdateVmClusterRequest.BuildervmClusterId(String vmClusterId)The VM cluster OCID.
-
-
-
Method Detail
-
vmClusterId
public UpdateVmClusterRequest.Builder vmClusterId(String vmClusterId)
The VM cluster OCID.- Parameters:
vmClusterId- the value to set- Returns:
- this builder instance
-
updateVmClusterDetails
public UpdateVmClusterRequest.Builder updateVmClusterDetails(UpdateVmClusterDetails updateVmClusterDetails)
Request to update the attributes of a VM cluster.- Parameters:
updateVmClusterDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateVmClusterRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateVmClusterRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateVmClusterRequest.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 UpdateVmClusterRequest.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 UpdateVmClusterRequest.Builder copy(UpdateVmClusterRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateVmClusterRequest,UpdateVmClusterDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateVmClusterRequest build()
Build the instance of UpdateVmClusterRequest 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<UpdateVmClusterRequest,UpdateVmClusterDetails>- Returns:
- instance of UpdateVmClusterRequest
-
body$
public UpdateVmClusterRequest.Builder body$(UpdateVmClusterDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateVmClusterRequest,UpdateVmClusterDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateVmClusterRequest buildWithoutInvocationCallback()
Build the instance of UpdateVmClusterRequest 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 UpdateVmClusterRequest
-
-