Class CfnCertificateAuthorityActivationProps.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityActivationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthorityActivationProps>
- Enclosing interface:
CfnCertificateAuthorityActivationProps
@Stability(Stable)
public static final class CfnCertificateAuthorityActivationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthorityActivationProps>
A builder for
CfnCertificateAuthorityActivationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificate(String certificate) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificate()certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificateAuthorityArn()certificateChain(String certificateChain) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificateChain()Sets the value ofCfnCertificateAuthorityActivationProps.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificate
@Stability(Stable) public CfnCertificateAuthorityActivationProps.Builder certificate(String certificate) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificate()- Parameters:
certificate- The Base64 PEM-encoded certificate authority certificate. This parameter is required.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public CfnCertificateAuthorityActivationProps.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) of your private CA. This parameter is required.- Returns:
this
-
certificateChain
@Stability(Stable) public CfnCertificateAuthorityActivationProps.Builder certificateChain(String certificateChain) Sets the value ofCfnCertificateAuthorityActivationProps.getCertificateChain()- Parameters:
certificateChain- The Base64 PEM-encoded certificate chain that chains up to the root CA certificate that you used to sign your private CA certificate.- Returns:
this
-
status
Sets the value ofCfnCertificateAuthorityActivationProps.getStatus()- Parameters:
status- Status of your private CA.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthorityActivationProps>- Returns:
- a new instance of
CfnCertificateAuthorityActivationProps - Throws:
NullPointerException- if any required attribute was not provided
-