@Stability(value=Stable) public static final class CfnCertificate.DomainValidationOptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCertificate.DomainValidationOptionProperty>
CfnCertificate.DomainValidationOptionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCertificate.DomainValidationOptionProperty |
build()
Builds the configured instance.
|
CfnCertificate.DomainValidationOptionProperty.Builder |
domainName(String domainName)
Sets the value of
CfnCertificate.DomainValidationOptionProperty.getDomainName() |
CfnCertificate.DomainValidationOptionProperty.Builder |
hostedZoneId(String hostedZoneId)
Sets the value of
CfnCertificate.DomainValidationOptionProperty.getHostedZoneId() |
CfnCertificate.DomainValidationOptionProperty.Builder |
validationDomain(String validationDomain)
Sets the value of
CfnCertificate.DomainValidationOptionProperty.getValidationDomain() |
@Stability(value=Stable) public CfnCertificate.DomainValidationOptionProperty.Builder domainName(String domainName)
CfnCertificate.DomainValidationOptionProperty.getDomainName()domainName - A fully qualified domain name (FQDN) in the certificate request. This parameter is required.this@Stability(value=Stable) public CfnCertificate.DomainValidationOptionProperty.Builder hostedZoneId(String hostedZoneId)
CfnCertificate.DomainValidationOptionProperty.getHostedZoneId()hostedZoneId - The `HostedZoneId` option, which is available if you are using Route 53 as your domain registrar, causes ACM to add your CNAME to the domain record.
Your list of DomainValidationOptions must contain one and only one of the domain-validation options, and the HostedZoneId can be used only when DNS is specified as your validation method.
Use the Route 53 ListHostedZones API to discover IDs for available hosted zones.
This option is required for publicly trusted certificates.
The
ListHostedZonesAPI returns IDs in the format "/hostedzone/Z111111QQQQQQQ", but CloudFormation requires the IDs to be in the format "Z111111QQQQQQQ".
When you change your DomainValidationOptions , a new resource is created.
this@Stability(value=Stable) public CfnCertificate.DomainValidationOptionProperty.Builder validationDomain(String validationDomain)
CfnCertificate.DomainValidationOptionProperty.getValidationDomain()validationDomain - The domain name to which you want ACM to send validation emails.
This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you request a certificate for testing.example.com , you can specify example.com as this value. In that case, ACM sends domain validation emails to the following five addresses:
this@Stability(value=Stable) public CfnCertificate.DomainValidationOptionProperty build()
build in interface software.amazon.jsii.Builder<CfnCertificate.DomainValidationOptionProperty>CfnCertificate.DomainValidationOptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.