Class GetCertificateBundleRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.certificates.requests.GetCertificateBundleRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<GetCertificateBundleRequest,Void>
 - Enclosing class:
- GetCertificateBundleRequest
 
 public static class GetCertificateBundleRequest.Builder extends Object implements BmcRequest.Builder<GetCertificateBundleRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCertificateBundleRequestbuild()Build the instance of GetCertificateBundleRequest as configured by this builderGetCertificateBundleRequestbuildWithoutInvocationCallback()Build the instance of GetCertificateBundleRequest as configured by this builderGetCertificateBundleRequest.BuildercertificateBundleType(GetCertificateBundleRequest.CertificateBundleType certificateBundleType)The type of certificate bundle.GetCertificateBundleRequest.BuildercertificateId(String certificateId)The OCID of the certificate.GetCertificateBundleRequest.BuildercertificateVersionName(String certificateVersionName)The name of the certificate.GetCertificateBundleRequest.Buildercopy(GetCertificateBundleRequest o)Copy method to populate the builder with values from the given instance.GetCertificateBundleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetCertificateBundleRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetCertificateBundleRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetCertificateBundleRequest.Builderstage(GetCertificateBundleRequest.Stage stage)The rotation state of the certificate version.GetCertificateBundleRequest.BuilderversionNumber(Long versionNumber)The version number of the certificate.- 
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- 
certificateIdpublic GetCertificateBundleRequest.Builder certificateId(String certificateId) The OCID of the certificate.- Parameters:
- certificateId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic GetCertificateBundleRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
versionNumberpublic GetCertificateBundleRequest.Builder versionNumber(Long versionNumber) The version number of the certificate.The default value is 0, which means that this query parameter is ignored. - Parameters:
- versionNumber- the value to set
- Returns:
- this builder instance
 
 - 
certificateVersionNamepublic GetCertificateBundleRequest.Builder certificateVersionName(String certificateVersionName) The name of the certificate.(This might be referred to as the name of the certificate version, as every certificate consists of at least one version.) Names are unique across versions of a given certificate. - Parameters:
- certificateVersionName- the value to set
- Returns:
- this builder instance
 
 - 
stagepublic GetCertificateBundleRequest.Builder stage(GetCertificateBundleRequest.Stage stage) The rotation state of the certificate version.- Parameters:
- stage- the value to set
- Returns:
- this builder instance
 
 - 
certificateBundleTypepublic GetCertificateBundleRequest.Builder certificateBundleType(GetCertificateBundleRequest.CertificateBundleType certificateBundleType) The type of certificate bundle.By default, the private key fields are not returned. When querying for certificate bundles, to return results with certificate contents, the private key in PEM format, and the private key passphrase, specify the value of this parameter as CERTIFICATE_CONTENT_WITH_PRIVATE_KEY. - Parameters:
- certificateBundleType- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic GetCertificateBundleRequest.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 GetCertificateBundleRequest.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 GetCertificateBundleRequest.Builder copy(GetCertificateBundleRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<GetCertificateBundleRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetCertificateBundleRequest build() Build the instance of GetCertificateBundleRequest 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<GetCertificateBundleRequest,Void>
- Returns:
- instance of GetCertificateBundleRequest
 
 - 
buildWithoutInvocationCallbackpublic GetCertificateBundleRequest buildWithoutInvocationCallback() Build the instance of GetCertificateBundleRequest 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 GetCertificateBundleRequest
 
 
- 
 
-