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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificateAuthority
(ICertificateAuthority certificateAuthority) Sets the value ofPrivateCertificateProps.getCertificateAuthority()
domainName
(String domainName) Sets the value ofPrivateCertificateProps.getDomainName()
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<PrivateCertificateProps>
- Returns:
- a new instance of
PrivateCertificateProps
- Throws:
NullPointerException
- if any required attribute was not provided
-