Class CfnCertificatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnCertificatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin>
- Enclosing class:
CfnCertificatePropsMixin
@Stability(Stable)
public static final class CfnCertificatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificatePropsMixin>
A fluent builder for
CfnCertificatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()certificateName(String certificateName) The name of the certificate.create()create(CfnPropertyMixinOptions options) domainName(String domainName) The domain name of the certificate.subjectAlternativeNames(List<String> subjectAlternativeNames) An array of strings that specify the alternate domains (such asexample.org) and subdomains (such asblog.example.com) of the certificate.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnCertificatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
certificateName
The name of the certificate.- Parameters:
certificateName- The name of the certificate. This parameter is required.- Returns:
this- See Also:
-
domainName
The domain name of the certificate.- Parameters:
domainName- The domain name of the certificate. This parameter is required.- Returns:
this- See Also:
-
subjectAlternativeNames
@Stability(Stable) public CfnCertificatePropsMixin.Builder subjectAlternativeNames(List<String> subjectAlternativeNames) An array of strings that specify the alternate domains (such asexample.org) and subdomains (such asblog.example.com) of the certificate.- Parameters:
subjectAlternativeNames- An array of strings that specify the alternate domains (such asexample.org) and subdomains (such asblog.example.com) of the certificate. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin>- Returns:
- a newly built instance of
CfnCertificatePropsMixin.
-