Package com.oracle.bmc.core.requests
Class ChangeBootVolumeCompartmentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.ChangeBootVolumeCompartmentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentDetails>
- Enclosing class:
- ChangeBootVolumeCompartmentRequest
public static class ChangeBootVolumeCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeBootVolumeCompartmentRequest.Builder
body$(ChangeBootVolumeCompartmentDetails body)
Alternative setter for the body parameter.ChangeBootVolumeCompartmentRequest.Builder
bootVolumeId(String bootVolumeId)
The OCID of the boot volume.ChangeBootVolumeCompartmentRequest
build()
Build the instance of ChangeBootVolumeCompartmentRequest as configured by this builderChangeBootVolumeCompartmentRequest
buildWithoutInvocationCallback()
Build the instance of ChangeBootVolumeCompartmentRequest as configured by this builderChangeBootVolumeCompartmentRequest.Builder
changeBootVolumeCompartmentDetails(ChangeBootVolumeCompartmentDetails changeBootVolumeCompartmentDetails)
Request to change the compartment of given boot volume.ChangeBootVolumeCompartmentRequest.Builder
copy(ChangeBootVolumeCompartmentRequest o)
Copy method to populate the builder with values from the given instance.ChangeBootVolumeCompartmentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ChangeBootVolumeCompartmentRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ChangeBootVolumeCompartmentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
bootVolumeId
public ChangeBootVolumeCompartmentRequest.Builder bootVolumeId(String bootVolumeId)
The OCID of the boot volume.- Parameters:
bootVolumeId
- the value to set- Returns:
- this builder instance
-
changeBootVolumeCompartmentDetails
public ChangeBootVolumeCompartmentRequest.Builder changeBootVolumeCompartmentDetails(ChangeBootVolumeCompartmentDetails changeBootVolumeCompartmentDetails)
Request to change the compartment of given boot volume.- Parameters:
changeBootVolumeCompartmentDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ChangeBootVolumeCompartmentRequest.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 ChangeBootVolumeCompartmentRequest.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 ChangeBootVolumeCompartmentRequest.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 ChangeBootVolumeCompartmentRequest.Builder copy(ChangeBootVolumeCompartmentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ChangeBootVolumeCompartmentRequest build()
Build the instance of ChangeBootVolumeCompartmentRequest 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<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentDetails>
- Returns:
- instance of ChangeBootVolumeCompartmentRequest
-
body$
public ChangeBootVolumeCompartmentRequest.Builder body$(ChangeBootVolumeCompartmentDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ChangeBootVolumeCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeBootVolumeCompartmentRequest 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 ChangeBootVolumeCompartmentRequest
-
-