Class ChangeClusterNetworkCompartmentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.ChangeClusterNetworkCompartmentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ChangeClusterNetworkCompartmentRequest,ChangeClusterNetworkCompartmentDetails>
- Enclosing class:
- ChangeClusterNetworkCompartmentRequest
public static class ChangeClusterNetworkCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeClusterNetworkCompartmentRequest,ChangeClusterNetworkCompartmentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeClusterNetworkCompartmentRequest.Builder
body$(ChangeClusterNetworkCompartmentDetails body)
Alternative setter for the body parameter.ChangeClusterNetworkCompartmentRequest
build()
Build the instance of ChangeClusterNetworkCompartmentRequest as configured by this builderChangeClusterNetworkCompartmentRequest
buildWithoutInvocationCallback()
Build the instance of ChangeClusterNetworkCompartmentRequest as configured by this builderChangeClusterNetworkCompartmentRequest.Builder
changeClusterNetworkCompartmentDetails(ChangeClusterNetworkCompartmentDetails changeClusterNetworkCompartmentDetails)
Request to change the compartment of given cluster network.ChangeClusterNetworkCompartmentRequest.Builder
clusterNetworkId(String clusterNetworkId)
The OCID of the cluster network.ChangeClusterNetworkCompartmentRequest.Builder
copy(ChangeClusterNetworkCompartmentRequest o)
Copy method to populate the builder with values from the given instance.ChangeClusterNetworkCompartmentRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.ChangeClusterNetworkCompartmentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ChangeClusterNetworkCompartmentRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ChangeClusterNetworkCompartmentRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ChangeClusterNetworkCompartmentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
clusterNetworkId
public ChangeClusterNetworkCompartmentRequest.Builder clusterNetworkId(String clusterNetworkId)
The OCID of the cluster network.- Parameters:
clusterNetworkId
- the value to set- Returns:
- this builder instance
-
changeClusterNetworkCompartmentDetails
public ChangeClusterNetworkCompartmentRequest.Builder changeClusterNetworkCompartmentDetails(ChangeClusterNetworkCompartmentDetails changeClusterNetworkCompartmentDetails)
Request to change the compartment of given cluster network.- Parameters:
changeClusterNetworkCompartmentDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public ChangeClusterNetworkCompartmentRequest.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 ChangeClusterNetworkCompartmentRequest.Builder opcRequestId(String opcRequestId)
Unique 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 instance
-
opcRetryToken
public ChangeClusterNetworkCompartmentRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ChangeClusterNetworkCompartmentRequest.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 ChangeClusterNetworkCompartmentRequest.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 ChangeClusterNetworkCompartmentRequest.Builder copy(ChangeClusterNetworkCompartmentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ChangeClusterNetworkCompartmentRequest,ChangeClusterNetworkCompartmentDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ChangeClusterNetworkCompartmentRequest build()
Build the instance of ChangeClusterNetworkCompartmentRequest 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:
build
in interfaceBmcRequest.Builder<ChangeClusterNetworkCompartmentRequest,ChangeClusterNetworkCompartmentDetails>
- Returns:
- instance of ChangeClusterNetworkCompartmentRequest
-
body$
public ChangeClusterNetworkCompartmentRequest.Builder body$(ChangeClusterNetworkCompartmentDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ChangeClusterNetworkCompartmentRequest,ChangeClusterNetworkCompartmentDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ChangeClusterNetworkCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeClusterNetworkCompartmentRequest 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 ChangeClusterNetworkCompartmentRequest
-
-