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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainValidationOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainValidationOptionclone()booleanequals(Object obj)StringgetDomainName()Fully Qualified Domain Name (FQDN) of the certificate being requested.StringgetValidationDomain()The domain to which validation email is sent.inthashCode()voidsetDomainName(String domainName)Fully Qualified Domain Name (FQDN) of the certificate being requested.voidsetValidationDomain(String validationDomain)The domain to which validation email is sent.StringtoString()Returns a string representation of this object; useful for testing and debugging.DomainValidationOptionwithDomainName(String domainName)Fully Qualified Domain Name (FQDN) of the certificate being requested.DomainValidationOptionwithValidationDomain(String validationDomain)The domain to which validation email is sent.
-
-
-
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
DomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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 theDomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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
DomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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
DomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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
DomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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 theDomainNamevalue or a superdomain of theDomainNamevalue. For example, if you requested a certificate forsite.subdomain.example.comand specify a ValidationDomain ofsubdomain.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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DomainValidationOption clone()
-
-