public static class ChangeVolumeGroupCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChangeVolumeGroupCompartmentRequest.Builder |
body$(ChangeVolumeGroupCompartmentDetails body)
Alternative setter for the body parameter.
|
ChangeVolumeGroupCompartmentRequest |
build()
Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builder
|
ChangeVolumeGroupCompartmentRequest |
buildWithoutInvocationCallback()
Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builder
|
ChangeVolumeGroupCompartmentRequest.Builder |
changeVolumeGroupCompartmentDetails(ChangeVolumeGroupCompartmentDetails changeVolumeGroupCompartmentDetails)
Request to change the compartment of given volume group.
|
ChangeVolumeGroupCompartmentRequest.Builder |
copy(ChangeVolumeGroupCompartmentRequest o)
Copy method to populate the builder with values from the given instance.
|
ChangeVolumeGroupCompartmentRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ChangeVolumeGroupCompartmentRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ChangeVolumeGroupCompartmentRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ChangeVolumeGroupCompartmentRequest.Builder |
volumeGroupId(String volumeGroupId)
The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
|
public ChangeVolumeGroupCompartmentRequest.Builder volumeGroupId(String volumeGroupId)
The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
volumeGroupId
- the value to setpublic ChangeVolumeGroupCompartmentRequest.Builder changeVolumeGroupCompartmentDetails(ChangeVolumeGroupCompartmentDetails changeVolumeGroupCompartmentDetails)
Request to change the compartment of given volume group.
changeVolumeGroupCompartmentDetails
- the value to setpublic 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.
opcRequestId
- the value to setpublic ChangeVolumeGroupCompartmentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ChangeVolumeGroupCompartmentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ChangeVolumeGroupCompartmentRequest.Builder copy(ChangeVolumeGroupCompartmentRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
o
- other request from which to copy valuespublic ChangeVolumeGroupCompartmentRequest build()
Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
public ChangeVolumeGroupCompartmentRequest.Builder body$(ChangeVolumeGroupCompartmentDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentDetails>
body
- the body parameterpublic ChangeVolumeGroupCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeVolumeGroupCompartmentRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.