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