Class CfnCertificate.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnCertificate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate>
- Enclosing class:
CfnCertificate
@Stability(Stable)
public static final class CfnCertificate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate>
A fluent builder for
CfnCertificate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
certificateName
(String certificateName) The name of the certificate.static CfnCertificate.Builder
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 CfnCertificate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCertificate.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 CfnCertificate.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
Value
ofTags
is 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate>
- Returns:
- a newly built instance of
CfnCertificate
.
-