public class DomainValidation extends Object implements Serializable, Cloneable
Structure that contains the domain name, the base validation domain to which validation email is sent, and the email addresses used to validate the domain identity.
Constructor and Description |
---|
DomainValidation() |
Modifier and Type | Method and Description |
---|---|
DomainValidation |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
String |
getValidationDomain()
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
List<String> |
getValidationEmails()
A list of contact address for the domain registrant.
|
int |
hashCode() |
void |
setDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
void |
setValidationDomain(String validationDomain)
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
void |
setValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainValidation |
withDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
DomainValidation |
withValidationDomain(String validationDomain)
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
DomainValidation |
withValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
|
DomainValidation |
withValidationEmails(String... validationEmails)
A list of contact address for the domain registrant.
|
public void setDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
domainName
- Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
public String getDomainName()
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
www.example.com or
example.com
public DomainValidation withDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
domainName
- Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
public List<String> getValidationEmails()
A list of contact address for the domain registrant.
public void setValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
validationEmails
- A list of contact address for the domain registrant.public DomainValidation withValidationEmails(String... validationEmails)
A list of contact address for the domain registrant.
NOTE: This method appends the values to the existing list (if
any). Use setValidationEmails(java.util.Collection)
or
withValidationEmails(java.util.Collection)
if you want to
override the existing values.
validationEmails
- A list of contact address for the domain registrant.public DomainValidation withValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
validationEmails
- A list of contact address for the domain registrant.public void setValidationDomain(String validationDomain)
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
validationDomain
- The base validation domain that acts as the suffix of the email
addresses that are used to send the emails.public String getValidationDomain()
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
public DomainValidation withValidationDomain(String validationDomain)
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
validationDomain
- The base validation domain that acts as the suffix of the email
addresses that are used to send the emails.public String toString()
toString
in class Object
Object.toString()
public DomainValidation clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.