Package com.oracle.bmc.core.requests
Class ChangeVolumeGroupCompartmentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.ChangeVolumeGroupCompartmentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
- Enclosing class:
- ChangeVolumeGroupCompartmentRequest
public static class ChangeVolumeGroupCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeVolumeGroupCompartmentRequest.Builderbody$(ChangeVolumeGroupCompartmentDetails body)Alternative setter for the body parameter.ChangeVolumeGroupCompartmentRequestbuild()Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builderChangeVolumeGroupCompartmentRequestbuildWithoutInvocationCallback()Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builderChangeVolumeGroupCompartmentRequest.BuilderchangeVolumeGroupCompartmentDetails(ChangeVolumeGroupCompartmentDetails changeVolumeGroupCompartmentDetails)Request to change the compartment of given volume group.ChangeVolumeGroupCompartmentRequest.Buildercopy(ChangeVolumeGroupCompartmentRequest o)Copy method to populate the builder with values from the given instance.ChangeVolumeGroupCompartmentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ChangeVolumeGroupCompartmentRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ChangeVolumeGroupCompartmentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ChangeVolumeGroupCompartmentRequest.BuildervolumeGroupId(String volumeGroupId)The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
-
-
-
Method Detail
-
volumeGroupId
public ChangeVolumeGroupCompartmentRequest.Builder volumeGroupId(String volumeGroupId)
The Oracle Cloud ID (OCID) that uniquely identifies the volume group.- Parameters:
volumeGroupId- the value to set- Returns:
- this builder instance
-
changeVolumeGroupCompartmentDetails
public ChangeVolumeGroupCompartmentRequest.Builder changeVolumeGroupCompartmentDetails(ChangeVolumeGroupCompartmentDetails changeVolumeGroupCompartmentDetails)
Request to change the compartment of given volume group.- Parameters:
changeVolumeGroupCompartmentDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public ChangeVolumeGroupCompartmentRequest.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
-
invocationCallback
public ChangeVolumeGroupCompartmentRequest.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 ChangeVolumeGroupCompartmentRequest.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 ChangeVolumeGroupCompartmentRequest.Builder copy(ChangeVolumeGroupCompartmentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ChangeVolumeGroupCompartmentRequest build()
Build the instance of ChangeVolumeGroupCompartmentRequest 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<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>- Returns:
- instance of ChangeVolumeGroupCompartmentRequest
-
body$
public ChangeVolumeGroupCompartmentRequest.Builder body$(ChangeVolumeGroupCompartmentDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ChangeVolumeGroupCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeVolumeGroupCompartmentRequest 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 ChangeVolumeGroupCompartmentRequest
-
-