Class DomainValidationOption

    • Constructor Detail

      • DomainValidationOption

        public DomainValidationOption()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object