Package com.oracle.bmc.core.requests
Class UpdateVolumeGroupBackupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateVolumeGroupBackupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupDetails>
- Enclosing class:
- UpdateVolumeGroupBackupRequest
public static class UpdateVolumeGroupBackupRequest.Builder extends Object implements BmcRequest.Builder<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVolumeGroupBackupRequest.Builder
body$(UpdateVolumeGroupBackupDetails body)
Alternative setter for the body parameter.UpdateVolumeGroupBackupRequest
build()
Build the instance of UpdateVolumeGroupBackupRequest as configured by this builderUpdateVolumeGroupBackupRequest
buildWithoutInvocationCallback()
Build the instance of UpdateVolumeGroupBackupRequest as configured by this builderUpdateVolumeGroupBackupRequest.Builder
copy(UpdateVolumeGroupBackupRequest o)
Copy method to populate the builder with values from the given instance.UpdateVolumeGroupBackupRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateVolumeGroupBackupRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateVolumeGroupBackupRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateVolumeGroupBackupRequest.Builder
updateVolumeGroupBackupDetails(UpdateVolumeGroupBackupDetails updateVolumeGroupBackupDetails)
Update volume group backup fieldsUpdateVolumeGroupBackupRequest.Builder
volumeGroupBackupId(String volumeGroupBackupId)
The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
-
-
-
Method Detail
-
volumeGroupBackupId
public UpdateVolumeGroupBackupRequest.Builder volumeGroupBackupId(String volumeGroupBackupId)
The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.- Parameters:
volumeGroupBackupId
- the value to set- Returns:
- this builder instance
-
updateVolumeGroupBackupDetails
public UpdateVolumeGroupBackupRequest.Builder updateVolumeGroupBackupDetails(UpdateVolumeGroupBackupDetails updateVolumeGroupBackupDetails)
Update volume group backup fields- Parameters:
updateVolumeGroupBackupDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateVolumeGroupBackupRequest.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
-
invocationCallback
public UpdateVolumeGroupBackupRequest.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 UpdateVolumeGroupBackupRequest.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 UpdateVolumeGroupBackupRequest.Builder copy(UpdateVolumeGroupBackupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateVolumeGroupBackupRequest build()
Build the instance of UpdateVolumeGroupBackupRequest 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<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupDetails>
- Returns:
- instance of UpdateVolumeGroupBackupRequest
-
body$
public UpdateVolumeGroupBackupRequest.Builder body$(UpdateVolumeGroupBackupDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateVolumeGroupBackupRequest buildWithoutInvocationCallback()
Build the instance of UpdateVolumeGroupBackupRequest 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 UpdateVolumeGroupBackupRequest
-
-