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 DomainValidationclone()booleanequals(Object obj)StringgetDomainName()Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.comStringgetValidationDomain()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.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.StringtoString()Returns a string representation of this object; useful for testing and debugging.DomainValidationwithDomainName(String domainName)Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.comDomainValidationwithValidationDomain(String validationDomain)The base validation domain that acts as the suffix of the email addresses that are used to send the emails.DomainValidationwithValidationEmails(String... validationEmails)A list of contact address for the domain registrant.DomainValidationwithValidationEmails(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 orexample.com- Parameters:
domainName- Fully Qualified Domain Name (FQDN) of the formwww.example.com orexample.com
-
getDomainName
public String 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
public DomainValidation withDomainName(String domainName)
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
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DomainValidation clone()
-
-