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 Details

    • domainName

      DomainValidation.Builder domainName(String domainName)

      A fully qualified domain name (FQDN) in the certificate. For example, www.example.com or example.com.

      Parameters:
      domainName - A fully qualified domain name (FQDN) in the certificate. For example, www.example.com or example.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:
    • 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:
    • 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 the ResourceRecord.Builder avoiding the need to create one manually via ResourceRecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceRecord(ResourceRecord).

      Parameters:
      resourceRecord - a consumer that will call methods on ResourceRecord.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: