Interface DomainValidation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DomainValidation.Builder,
,DomainValidation> SdkBuilder<DomainValidation.Builder,
,DomainValidation> SdkPojo
- Enclosing class:
DomainValidation
-
Method Summary
Modifier and TypeMethodDescriptiondomainName
(String domainName) A fully qualified domain name (FQDN) in the certificate.default DomainValidation.Builder
resourceRecord
(Consumer<ResourceRecord.Builder> resourceRecord) Contains the CNAME record that you add to your DNS database for domain validation.resourceRecord
(ResourceRecord resourceRecord) Contains the CNAME record that you add to your DNS database for domain validation.validationDomain
(String validationDomain) The domain name that ACM used to send domain validation emails.validationEmails
(String... validationEmails) A list of email addresses that ACM used to send domain validation emails.validationEmails
(Collection<String> validationEmails) A list of email addresses that ACM used to send domain validation emails.validationMethod
(String validationMethod) Specifies the domain validation method.validationMethod
(ValidationMethod validationMethod) Specifies the domain validation method.validationStatus
(String validationStatus) The validation status of the domain name.validationStatus
(DomainStatus validationStatus) The validation status of the domain name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainName
A fully qualified domain name (FQDN) in the certificate. For example,
www.example.com
orexample.com
.- Parameters:
domainName
- A fully qualified domain name (FQDN) in the certificate. For example,www.example.com
orexample.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationEmails
A list of email addresses that ACM used to send domain validation emails.
- Parameters:
validationEmails
- A list of email addresses that ACM used to send domain validation emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationEmails
A list of email addresses that ACM used to send domain validation emails.
- Parameters:
validationEmails
- A list of email addresses that ACM used to send domain validation emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationDomain
The domain name that ACM used to send domain validation emails.
- Parameters:
validationDomain
- The domain name that ACM used to send domain validation emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationStatus
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
- Parameters:
validationStatus
- The validation status of the domain name. This can be one of the following values:-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
validationStatus
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
- Parameters:
validationStatus
- The validation status of the domain name. This can be one of the following values:-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceRecord
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
- Parameters:
resourceRecord
- Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecord
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
This is a convenience method that creates an instance of theResourceRecord.Builder
avoiding the need to create one manually viaResourceRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceRecord(ResourceRecord)
.- Parameters:
resourceRecord
- a consumer that will call methods onResourceRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationMethod
Specifies the domain validation method.
- Parameters:
validationMethod
- Specifies the domain validation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationMethod
Specifies the domain validation method.
- Parameters:
validationMethod
- Specifies the domain validation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-