Class PrivateCertificateProps.Builder
java.lang.Object
software.amazon.awscdk.services.certificatemanager.PrivateCertificateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivateCertificateProps>
- Enclosing interface:
PrivateCertificateProps
@Stability(Stable)
public static final class PrivateCertificateProps.Builder
extends Object
implements software.amazon.jsii.Builder<PrivateCertificateProps>
A builder for
PrivateCertificateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowExport(Boolean allowExport) Sets the value ofPrivateCertificateProps.getAllowExport()build()Builds the configured instance.certificateAuthority(ICertificateAuthority certificateAuthority) Sets the value ofPrivateCertificateProps.getCertificateAuthority()domainName(String domainName) Sets the value ofPrivateCertificateProps.getDomainName()keyAlgorithm(KeyAlgorithm keyAlgorithm) Sets the value ofPrivateCertificateProps.getKeyAlgorithm()subjectAlternativeNames(List<String> subjectAlternativeNames) Sets the value ofPrivateCertificateProps.getSubjectAlternativeNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateAuthority
@Stability(Stable) public PrivateCertificateProps.Builder certificateAuthority(ICertificateAuthority certificateAuthority) Sets the value ofPrivateCertificateProps.getCertificateAuthority()- Parameters:
certificateAuthority- Private certificate authority (CA) that will be used to issue the certificate. This parameter is required.- Returns:
this
-
domainName
Sets the value ofPrivateCertificateProps.getDomainName()- Parameters:
domainName- Fully-qualified domain name to request a private certificate for. This parameter is required. May contain wildcards, such as*.domain.com.- Returns:
this
-
allowExport
Sets the value ofPrivateCertificateProps.getAllowExport()- Parameters:
allowExport- Enable or disable export of this certificate. If you issue an exportable public certificate, there is a charge at certificate issuance and again when the certificate renews. Ref: https://aws.amazon.com/certificate-manager/pricing- Returns:
this
-
keyAlgorithm
Sets the value ofPrivateCertificateProps.getKeyAlgorithm()- Parameters:
keyAlgorithm- Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. When you request a private PKI certificate signed by a CA from AWS Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public PrivateCertificateProps.Builder subjectAlternativeNames(List<String> subjectAlternativeNames) Sets the value ofPrivateCertificateProps.getSubjectAlternativeNames()- Parameters:
subjectAlternativeNames- Alternative domain names on your private certificate. Use this to register alternative domain names that represent the same site.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivateCertificateProps>- Returns:
- a new instance of
PrivateCertificateProps - Throws:
NullPointerException- if any required attribute was not provided
-