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