Class DomainValidationOption

java.lang.Object
com.amazonaws.services.certificatemanager.model.DomainValidationOption
All Implemented Interfaces:
Serializable, Cloneable

public class DomainValidationOption extends Object implements Serializable, Cloneable

This structure is used in the request object of the RequestCertificate action.

See Also:
  • Constructor Details

    • DomainValidationOption

      public DomainValidationOption()
  • Method Details

    • setDomainName

      public void setDomainName(String domainName)

      Fully Qualified Domain Name (FQDN) of the certificate being requested.

      Parameters:
      domainName - Fully Qualified Domain Name (FQDN) of the certificate being requested.
    • getDomainName

      public String getDomainName()

      Fully Qualified Domain Name (FQDN) of the certificate being requested.

      Returns:
      Fully Qualified Domain Name (FQDN) of the certificate being requested.
    • withDomainName

      public DomainValidationOption withDomainName(String domainName)

      Fully Qualified Domain Name (FQDN) of the certificate being requested.

      Parameters:
      domainName - Fully Qualified Domain Name (FQDN) of the certificate being requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setValidationDomain

      public void setValidationDomain(String validationDomain)

      The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:

      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

      Parameters:
      validationDomain - The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:
      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

    • getValidationDomain

      public String getValidationDomain()

      The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:

      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

      Returns:
      The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:
      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

    • withValidationDomain

      public DomainValidationOption withValidationDomain(String validationDomain)

      The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:

      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

      Parameters:
      validationDomain - The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the DomainName value or a superdomain of the DomainName value. For example, if you requested a certificate for site.subdomain.example.com and specify a ValidationDomain of subdomain.example.com, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:
      • admin@subdomain.example.com

      • administrator@subdomain.example.com

      • hostmaster@subdomain.example.com

      • postmaster@subdomain.example.com

      • webmaster@subdomain.example.com

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DomainValidationOption clone()
      Overrides:
      clone in class Object