Package com.oracle.bmc.redis.requests
Class UpdateOciCacheBackupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.requests.UpdateOciCacheBackupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateOciCacheBackupRequest,UpdateOciCacheBackupDetails>
- Enclosing class:
- UpdateOciCacheBackupRequest
public static class UpdateOciCacheBackupRequest.Builder extends Object implements BmcRequest.Builder<UpdateOciCacheBackupRequest,UpdateOciCacheBackupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOciCacheBackupRequest.Builderbody$(UpdateOciCacheBackupDetails body)Alternative setter for the body parameter.UpdateOciCacheBackupRequestbuild()Build the instance of UpdateOciCacheBackupRequest as configured by this builderUpdateOciCacheBackupRequestbuildWithoutInvocationCallback()Build the instance of UpdateOciCacheBackupRequest as configured by this builderUpdateOciCacheBackupRequest.Buildercopy(UpdateOciCacheBackupRequest o)Copy method to populate the builder with values from the given instance.UpdateOciCacheBackupRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateOciCacheBackupRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateOciCacheBackupRequest.BuilderociCacheBackupId(String ociCacheBackupId)Unique OCI Cache Backup identifier.UpdateOciCacheBackupRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateOciCacheBackupRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateOciCacheBackupRequest.BuilderupdateOciCacheBackupDetails(UpdateOciCacheBackupDetails updateOciCacheBackupDetails)The information to be updated.
-
-
-
Method Detail
-
ociCacheBackupId
public UpdateOciCacheBackupRequest.Builder ociCacheBackupId(String ociCacheBackupId)
Unique OCI Cache Backup identifier.- Parameters:
ociCacheBackupId- the value to set- Returns:
- this builder instance
-
updateOciCacheBackupDetails
public UpdateOciCacheBackupRequest.Builder updateOciCacheBackupDetails(UpdateOciCacheBackupDetails updateOciCacheBackupDetails)
The information to be updated.- Parameters:
updateOciCacheBackupDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateOciCacheBackupRequest.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
-
opcRequestId
public UpdateOciCacheBackupRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateOciCacheBackupRequest.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 UpdateOciCacheBackupRequest.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 UpdateOciCacheBackupRequest.Builder copy(UpdateOciCacheBackupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateOciCacheBackupRequest,UpdateOciCacheBackupDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateOciCacheBackupRequest build()
Build the instance of UpdateOciCacheBackupRequest 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<UpdateOciCacheBackupRequest,UpdateOciCacheBackupDetails>- Returns:
- instance of UpdateOciCacheBackupRequest
-
body$
public UpdateOciCacheBackupRequest.Builder body$(UpdateOciCacheBackupDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateOciCacheBackupRequest,UpdateOciCacheBackupDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateOciCacheBackupRequest buildWithoutInvocationCallback()
Build the instance of UpdateOciCacheBackupRequest 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 UpdateOciCacheBackupRequest
-
-