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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCertificateBundleRequest
build()
Build the instance of GetCertificateBundleRequest as configured by this builderGetCertificateBundleRequest
buildWithoutInvocationCallback()
Build the instance of GetCertificateBundleRequest as configured by this builderGetCertificateBundleRequest.Builder
certificateBundleType(GetCertificateBundleRequest.CertificateBundleType certificateBundleType)
The type of certificate bundle.GetCertificateBundleRequest.Builder
certificateId(String certificateId)
The OCID of the certificate.GetCertificateBundleRequest.Builder
certificateVersionName(String certificateVersionName)
The name of the certificate.GetCertificateBundleRequest.Builder
copy(GetCertificateBundleRequest o)
Copy method to populate the builder with values from the given instance.GetCertificateBundleRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetCertificateBundleRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetCertificateBundleRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetCertificateBundleRequest.Builder
stage(GetCertificateBundleRequest.Stage stage)
The rotation state of the certificate version.GetCertificateBundleRequest.Builder
versionNumber(Long versionNumber)
The version number of the certificate.-
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
-
certificateId
public GetCertificateBundleRequest.Builder certificateId(String certificateId)
The OCID of the certificate.- Parameters:
certificateId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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
-
versionNumber
public 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
-
certificateVersionName
public 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
-
stage
public GetCertificateBundleRequest.Builder stage(GetCertificateBundleRequest.Stage stage)
The rotation state of the certificate version.- Parameters:
stage
- the value to set- Returns:
- this builder instance
-
certificateBundleType
public 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
-
invocationCallback
public 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
-
retryConfiguration
public 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
-
copy
public GetCertificateBundleRequest.Builder copy(GetCertificateBundleRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetCertificateBundleRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public 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:
build
in interfaceBmcRequest.Builder<GetCertificateBundleRequest,Void>
- Returns:
- instance of GetCertificateBundleRequest
-
buildWithoutInvocationCallback
public 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
-
-