Package com.oracle.bmc.secrets.requests
Class GetSecretBundleByNameRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.secrets.requests.GetSecretBundleByNameRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetSecretBundleByNameRequest,Void>
- Enclosing class:
- GetSecretBundleByNameRequest
public static class GetSecretBundleByNameRequest.Builder extends Object implements BmcRequest.Builder<GetSecretBundleByNameRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSecretBundleByNameRequestbuild()Build the instance of GetSecretBundleByNameRequest as configured by this builderGetSecretBundleByNameRequestbuildWithoutInvocationCallback()Build the instance of GetSecretBundleByNameRequest as configured by this builderGetSecretBundleByNameRequest.Buildercopy(GetSecretBundleByNameRequest o)Copy method to populate the builder with values from the given instance.GetSecretBundleByNameRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetSecretBundleByNameRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.GetSecretBundleByNameRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetSecretBundleByNameRequest.BuildersecretName(String secretName)A user-friendly name for the secret.GetSecretBundleByNameRequest.BuildersecretVersionName(String secretVersionName)The name of the secret.GetSecretBundleByNameRequest.Builderstage(GetSecretBundleByNameRequest.Stage stage)The rotation state of the secret version.GetSecretBundleByNameRequest.BuildervaultId(String vaultId)The OCID of the vault that contains the secret.GetSecretBundleByNameRequest.BuilderversionNumber(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
-
secretName
public GetSecretBundleByNameRequest.Builder secretName(String secretName)
A user-friendly name for the secret.Secret names are unique within a vault. Secret names are case-sensitive.
- Parameters:
secretName- the value to set- Returns:
- this builder instance
-
vaultId
public GetSecretBundleByNameRequest.Builder vaultId(String vaultId)
The OCID of the vault that contains the secret.- Parameters:
vaultId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetSecretBundleByNameRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
versionNumber
public GetSecretBundleByNameRequest.Builder versionNumber(Long versionNumber)
The version number of the secret.- Parameters:
versionNumber- the value to set- Returns:
- this builder instance
-
secretVersionName
public GetSecretBundleByNameRequest.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 GetSecretBundleByNameRequest.Builder stage(GetSecretBundleByNameRequest.Stage stage)
The rotation state of the secret version.- Parameters:
stage- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetSecretBundleByNameRequest.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 GetSecretBundleByNameRequest.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 GetSecretBundleByNameRequest.Builder copy(GetSecretBundleByNameRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetSecretBundleByNameRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetSecretBundleByNameRequest build()
Build the instance of GetSecretBundleByNameRequest 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<GetSecretBundleByNameRequest,Void>- Returns:
- instance of GetSecretBundleByNameRequest
-
buildWithoutInvocationCallback
public GetSecretBundleByNameRequest buildWithoutInvocationCallback()
Build the instance of GetSecretBundleByNameRequest 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 GetSecretBundleByNameRequest
-
-