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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSecretBundleRequestbuild()Build the instance of GetSecretBundleRequest as configured by this builderGetSecretBundleRequestbuildWithoutInvocationCallback()Build the instance of GetSecretBundleRequest as configured by this builderGetSecretBundleRequest.Buildercopy(GetSecretBundleRequest o)Copy method to populate the builder with values from the given instance.GetSecretBundleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetSecretBundleRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.GetSecretBundleRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetSecretBundleRequest.BuildersecretId(String secretId)The OCID of the secret.GetSecretBundleRequest.BuildersecretVersionName(String secretVersionName)The name of the secret.GetSecretBundleRequest.Builderstage(GetSecretBundleRequest.Stage stage)The rotation state of the secret version.GetSecretBundleRequest.BuilderversionNumber(Long versionNumber)The version number of the secret.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
secretIdpublic GetSecretBundleRequest.Builder secretId(String secretId) The OCID of the secret.- Parameters:
- secretId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic GetSecretBundleRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
versionNumberpublic GetSecretBundleRequest.Builder versionNumber(Long versionNumber) The version number of the secret.- Parameters:
- versionNumber- the value to set
- Returns:
- this builder instance
 
 - 
secretVersionNamepublic 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
 
 - 
stagepublic GetSecretBundleRequest.Builder stage(GetSecretBundleRequest.Stage stage) The rotation state of the secret version.- Parameters:
- stage- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic GetSecretBundleRequest.Builder copy(GetSecretBundleRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<GetSecretBundleRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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:
- buildin interface- BmcRequest.Builder<GetSecretBundleRequest,Void>
- Returns:
- instance of GetSecretBundleRequest
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-