public class DomainValidation
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domainName
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
private java.lang.String |
validationDomain
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
private java.util.List<java.lang.String> |
validationEmails
A list of contact address for the domain registrant.
|
Constructor and Description |
---|
DomainValidation() |
Modifier and Type | Method and Description |
---|---|
DomainValidation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
java.lang.String |
getValidationDomain()
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
java.util.List<java.lang.String> |
getValidationEmails()
A list of contact address for the domain registrant.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
void |
setValidationDomain(java.lang.String validationDomain)
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
void |
setValidationEmails(java.util.Collection<java.lang.String> validationEmails)
A list of contact address for the domain registrant.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainValidation |
withDomainName(java.lang.String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or example.com |
DomainValidation |
withValidationDomain(java.lang.String validationDomain)
The base validation domain that acts as the suffix of the email addresses
that are used to send the emails.
|
DomainValidation |
withValidationEmails(java.util.Collection<java.lang.String> validationEmails)
A list of contact address for the domain registrant.
|
DomainValidation |
withValidationEmails(java.lang.String... validationEmails)
A list of contact address for the domain registrant.
|
private java.lang.String domainName
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
private java.util.List<java.lang.String> validationEmails
A list of contact address for the domain registrant.
private java.lang.String validationDomain
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
public void setDomainName(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.String> getValidationEmails()
A list of contact address for the domain registrant.
public void setValidationEmails(java.util.Collection<java.lang.String> validationEmails)
A list of contact address for the domain registrant.
validationEmails
- A list of contact address for the domain registrant.public DomainValidation withValidationEmails(java.lang.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(java.util.Collection<java.lang.String> validationEmails)
A list of contact address for the domain registrant.
validationEmails
- A list of contact address for the domain registrant.public void setValidationDomain(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DomainValidation clone()
clone
in class java.lang.Object