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.Builderbody$(UpdateVolumeGroupBackupDetails body)Alternative setter for the body parameter.UpdateVolumeGroupBackupRequestbuild()Build the instance of UpdateVolumeGroupBackupRequest as configured by this builderUpdateVolumeGroupBackupRequestbuildWithoutInvocationCallback()Build the instance of UpdateVolumeGroupBackupRequest as configured by this builderUpdateVolumeGroupBackupRequest.Buildercopy(UpdateVolumeGroupBackupRequest o)Copy method to populate the builder with values from the given instance.UpdateVolumeGroupBackupRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateVolumeGroupBackupRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateVolumeGroupBackupRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateVolumeGroupBackupRequest.BuilderupdateVolumeGroupBackupDetails(UpdateVolumeGroupBackupDetails updateVolumeGroupBackupDetails)Update volume group backup fieldsUpdateVolumeGroupBackupRequest.BuildervolumeGroupBackupId(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:
copyin 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:
buildin 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
-
-