public static final class CfnCertificate.Builder
extends java.lang.Object
CfnCertificate
.Modifier and Type | Method and Description |
---|---|
CfnCertificate |
build() |
CfnCertificate.Builder |
certificateName(java.lang.String certificateName)
The name of the certificate.
|
static CfnCertificate.Builder |
create(Construct scope,
java.lang.String id) |
CfnCertificate.Builder |
domainName(java.lang.String domainName)
The domain name of the certificate.
|
CfnCertificate.Builder |
subjectAlternativeNames(java.util.List<java.lang.String> subjectAlternativeNames)
An array of strings that specify the alternate domains (such as `example.org` ) and subdomains (such as `blog.example.com` ) of the certificate.
|
CfnCertificate.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
public static CfnCertificate.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnCertificate.Builder
.public CfnCertificate.Builder certificateName(java.lang.String certificateName)
certificateName
- The name of the certificate. This parameter is required.this
public CfnCertificate.Builder domainName(java.lang.String domainName)
domainName
- The domain name of the certificate. This parameter is required.this
public CfnCertificate.Builder subjectAlternativeNames(java.util.List<java.lang.String> subjectAlternativeNames)
subjectAlternativeNames
- An array of strings that specify the alternate domains (such as `example.org` ) and subdomains (such as `blog.example.com` ) of the certificate. This parameter is required.this
public CfnCertificate.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag in the AWS CloudFormation User Guide .
The
Value
ofTags
is optional for Lightsail resources.
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnCertificate build()