Class DomainValidation
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanFully Qualified Domain Name (FQDN) of the formwww.example.com orexample.comThe base validation domain that acts as the suffix of the email addresses that are used to send the emails.A list of contact address for the domain registrant.inthashCode()voidsetDomainName(String domainName) Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.comvoidsetValidationDomain(String validationDomain) The base validation domain that acts as the suffix of the email addresses that are used to send the emails.voidsetValidationEmails(Collection<String> validationEmails) A list of contact address for the domain registrant.toString()Returns a string representation of this object; useful for testing and debugging.withDomainName(String domainName) Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.comwithValidationDomain(String validationDomain) The base validation domain that acts as the suffix of the email addresses that are used to send the emails.withValidationEmails(String... validationEmails) A list of contact address for the domain registrant.withValidationEmails(Collection<String> validationEmails) A list of contact address for the domain registrant.
-
Constructor Details
-
DomainValidation
public DomainValidation()
-
-
Method Details
-
setDomainName
Fully Qualified Domain Name (FQDN) of the form
www.example.com orexample.com- Parameters:
domainName- Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.com
-
getDomainName
Fully Qualified Domain Name (FQDN) of the form
www.example.com orexample.com- Returns:
- Fully Qualified Domain Name (FQDN) of the form
www.example.com orexample.com
-
withDomainName
Fully Qualified Domain Name (FQDN) of the form
www.example.com orexample.com- Parameters:
domainName- Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.com- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValidationEmails
A list of contact address for the domain registrant.
- Returns:
- A list of contact address for the domain registrant.
-
setValidationEmails
A list of contact address for the domain registrant.
- Parameters:
validationEmails- A list of contact address for the domain registrant.
-
withValidationEmails
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)orwithValidationEmails(java.util.Collection)if you want to override the existing values.- Parameters:
validationEmails- A list of contact address for the domain registrant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValidationEmails
A list of contact address for the domain registrant.
- Parameters:
validationEmails- A list of contact address for the domain registrant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValidationDomain
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
- Parameters:
validationDomain- The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
-
getValidationDomain
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
- Returns:
- The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
-
withValidationDomain
The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
- Parameters:
validationDomain- The base validation domain that acts as the suffix of the email addresses that are used to send the emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-