Interface DomainValidation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DomainValidation.Builder,DomainValidation>,SdkBuilder<DomainValidation.Builder,DomainValidation>,SdkPojo
- Enclosing class:
- DomainValidation
public static interface DomainValidation.Builder extends SdkPojo, CopyableBuilder<DomainValidation.Builder,DomainValidation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DomainValidation.BuilderdomainName(String domainName)A fully qualified domain name (FQDN) in the certificate.default DomainValidation.BuilderresourceRecord(Consumer<ResourceRecord.Builder> resourceRecord)Contains the CNAME record that you add to your DNS database for domain validation.DomainValidation.BuilderresourceRecord(ResourceRecord resourceRecord)Contains the CNAME record that you add to your DNS database for domain validation.DomainValidation.BuildervalidationDomain(String validationDomain)The domain name that ACM used to send domain validation emails.DomainValidation.BuildervalidationEmails(String... validationEmails)A list of email addresses that ACM used to send domain validation emails.DomainValidation.BuildervalidationEmails(Collection<String> validationEmails)A list of email addresses that ACM used to send domain validation emails.DomainValidation.BuildervalidationMethod(String validationMethod)Specifies the domain validation method.DomainValidation.BuildervalidationMethod(ValidationMethod validationMethod)Specifies the domain validation method.DomainValidation.BuildervalidationStatus(String validationStatus)The validation status of the domain name.DomainValidation.BuildervalidationStatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domainName
DomainValidation.Builder domainName(String domainName)
A fully qualified domain name (FQDN) in the certificate. For example,
www.example.comorexample.com.- Parameters:
domainName- A fully qualified domain name (FQDN) in the certificate. For example,www.example.comorexample.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationEmails
DomainValidation.Builder validationEmails(Collection<String> 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
DomainValidation.Builder validationEmails(String... 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
DomainValidation.Builder validationDomain(String 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
DomainValidation.Builder validationStatus(String 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:
DomainStatus,DomainStatus
-
-
validationStatus
DomainValidation.Builder validationStatus(DomainStatus 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:
DomainStatus,DomainStatus
-
-
resourceRecord
DomainValidation.Builder resourceRecord(ResourceRecord 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
default DomainValidation.Builder resourceRecord(Consumer<ResourceRecord.Builder> 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.Builderavoiding the need to create one manually viaResourceRecord.builder().When the
Consumercompletes,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:
resourceRecord(ResourceRecord)
-
validationMethod
DomainValidation.Builder validationMethod(String 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,ValidationMethod
-
validationMethod
DomainValidation.Builder validationMethod(ValidationMethod 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,ValidationMethod
-
-