Interface DomainValidation.Builder

    • Method Detail

      • 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:
        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.

        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.

        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.
      • httpRedirect

        DomainValidation.Builder httpRedirect​(HttpRedirect httpRedirect)

        Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is AMAZON_ISSUED and the validation method is HTTP.

        Parameters:
        httpRedirect - Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is AMAZON_ISSUED and the validation method is HTTP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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