Package com.oracle.bmc.redis.requests
Class GetOciCacheBackupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.redis.requests.GetOciCacheBackupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetOciCacheBackupRequest,Void>
- Enclosing class:
- GetOciCacheBackupRequest
public static class GetOciCacheBackupRequest.Builder extends Object implements BmcRequest.Builder<GetOciCacheBackupRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOciCacheBackupRequestbuild()Build the instance of GetOciCacheBackupRequest as configured by this builderGetOciCacheBackupRequestbuildWithoutInvocationCallback()Build the instance of GetOciCacheBackupRequest as configured by this builderGetOciCacheBackupRequest.Buildercopy(GetOciCacheBackupRequest o)Copy method to populate the builder with values from the given instance.GetOciCacheBackupRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetOciCacheBackupRequest.BuilderociCacheBackupId(String ociCacheBackupId)Unique OCI Cache Backup identifier.GetOciCacheBackupRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetOciCacheBackupRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
ociCacheBackupId
public GetOciCacheBackupRequest.Builder ociCacheBackupId(String ociCacheBackupId)
Unique OCI Cache Backup identifier.- Parameters:
ociCacheBackupId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetOciCacheBackupRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetOciCacheBackupRequest.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 GetOciCacheBackupRequest.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 GetOciCacheBackupRequest.Builder copy(GetOciCacheBackupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetOciCacheBackupRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetOciCacheBackupRequest build()
Build the instance of GetOciCacheBackupRequest 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<GetOciCacheBackupRequest,Void>- Returns:
- instance of GetOciCacheBackupRequest
-
buildWithoutInvocationCallback
public GetOciCacheBackupRequest buildWithoutInvocationCallback()
Build the instance of GetOciCacheBackupRequest 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 GetOciCacheBackupRequest
-
-