Package com.oracle.bmc.secrets.requests
Class GetSecretBundleRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.secrets.requests.GetSecretBundleRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetSecretBundleRequest,Void>
- Enclosing class:
- GetSecretBundleRequest
public static class GetSecretBundleRequest.Builder extends Object implements BmcRequest.Builder<GetSecretBundleRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSecretBundleRequest
build()
Build the instance of GetSecretBundleRequest as configured by this builderGetSecretBundleRequest
buildWithoutInvocationCallback()
Build the instance of GetSecretBundleRequest as configured by this builderGetSecretBundleRequest.Builder
copy(GetSecretBundleRequest o)
Copy method to populate the builder with values from the given instance.GetSecretBundleRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetSecretBundleRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.GetSecretBundleRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetSecretBundleRequest.Builder
secretId(String secretId)
The OCID of the secret.GetSecretBundleRequest.Builder
secretVersionName(String secretVersionName)
The name of the secret.GetSecretBundleRequest.Builder
stage(GetSecretBundleRequest.Stage stage)
The rotation state of the secret version.GetSecretBundleRequest.Builder
versionNumber(Long versionNumber)
The version number of the secret.-
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
-
secretId
public GetSecretBundleRequest.Builder secretId(String secretId)
The OCID of the secret.- Parameters:
secretId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetSecretBundleRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
versionNumber
public GetSecretBundleRequest.Builder versionNumber(Long versionNumber)
The version number of the secret.- Parameters:
versionNumber
- the value to set- Returns:
- this builder instance
-
secretVersionName
public GetSecretBundleRequest.Builder secretVersionName(String secretVersionName)
The name of the secret.(This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.)
- Parameters:
secretVersionName
- the value to set- Returns:
- this builder instance
-
stage
public GetSecretBundleRequest.Builder stage(GetSecretBundleRequest.Stage stage)
The rotation state of the secret version.- Parameters:
stage
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetSecretBundleRequest.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 GetSecretBundleRequest.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 GetSecretBundleRequest.Builder copy(GetSecretBundleRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetSecretBundleRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetSecretBundleRequest build()
Build the instance of GetSecretBundleRequest 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<GetSecretBundleRequest,Void>
- Returns:
- instance of GetSecretBundleRequest
-
buildWithoutInvocationCallback
public GetSecretBundleRequest buildWithoutInvocationCallback()
Build the instance of GetSecretBundleRequest 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 GetSecretBundleRequest
-
-