Class DomainValidation
- java.lang.Object
-
- com.amazonaws.services.certificatemanager.model.DomainValidation
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainValidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainValidation
clone()
boolean
equals(Object obj)
String
getDomainName()
Fully Qualified Domain Name (FQDN) of the formwww.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 formwww.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 formwww.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(String... validationEmails)
A list of contact address for the domain registrant.DomainValidation
withValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
- Parameters:
domainName
- Fully Qualified Domain Name (FQDN) of the formwww.example.com or
example.com
-
getDomainName
public String getDomainName()
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
- Returns:
- Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
-
withDomainName
public DomainValidation withDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the form
www.example.com or
example.com
- Parameters:
domainName
- Fully Qualified Domain Name (FQDN) of the formwww.example.com or
example.com
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValidationEmails
public List<String> getValidationEmails()
A list of contact address for the domain registrant.
- Returns:
- A list of contact address for the domain registrant.
-
setValidationEmails
public void setValidationEmails(Collection<String> validationEmails)
A list of contact address for the domain registrant.
- Parameters:
validationEmails
- A list of contact address for the domain registrant.
-
withValidationEmails
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)
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
public DomainValidation withValidationEmails(Collection<String> validationEmails)
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
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.
- Parameters:
validationDomain
- The base validation domain that acts as the suffix of the email addresses that are used to send the emails.
-
getValidationDomain
public String 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DomainValidation clone()
-
-