Class DomainValidationOption
- java.lang.Object
-
- com.amazonaws.services.certificatemanager.model.DomainValidationOption
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DomainValidationOption extends Object implements Serializable, Cloneable
This structure is used in the request object of the RequestCertificate action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainValidationOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainValidationOption
clone()
boolean
equals(Object obj)
String
getDomainName()
Fully Qualified Domain Name (FQDN) of the certificate being requested.String
getValidationDomain()
The domain to which validation email is sent.int
hashCode()
void
setDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the certificate being requested.void
setValidationDomain(String validationDomain)
The domain to which validation email is sent.String
toString()
Returns a string representation of this object; useful for testing and debugging.DomainValidationOption
withDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the certificate being requested.DomainValidationOption
withValidationDomain(String validationDomain)
The domain to which validation email is sent.
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the certificate being requested.
- Parameters:
domainName
- Fully Qualified Domain Name (FQDN) of the certificate being requested.
-
getDomainName
public String getDomainName()
Fully Qualified Domain Name (FQDN) of the certificate being requested.
- Returns:
- Fully Qualified Domain Name (FQDN) of the certificate being requested.
-
withDomainName
public DomainValidationOption withDomainName(String domainName)
Fully Qualified Domain Name (FQDN) of the certificate being requested.
- Parameters:
domainName
- Fully Qualified Domain Name (FQDN) of the certificate being requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValidationDomain
public void setValidationDomain(String validationDomain)
The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the
DomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
- Parameters:
validationDomain
- The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as theDomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
-
-
-
getValidationDomain
public String getValidationDomain()
The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the
DomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
- Returns:
- The domain to which validation email is sent. This is the base
validation domain that will act as the suffix of the email
addresses. This must be the same as the
DomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
-
-
-
withValidationDomain
public DomainValidationOption withValidationDomain(String validationDomain)
The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as the
DomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
- Parameters:
validationDomain
- The domain to which validation email is sent. This is the base validation domain that will act as the suffix of the email addresses. This must be the same as theDomainName
value or a superdomain of theDomainName
value. For example, if you requested a certificate forsite.subdomain.example.com
and specify a ValidationDomain ofsubdomain.example.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS for the base domain and the following five addresses:-
admin@subdomain.example.com
-
administrator@subdomain.example.com
-
hostmaster@subdomain.example.com
-
postmaster@subdomain.example.com
-
webmaster@subdomain.example.com
-
- 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 DomainValidationOption clone()
-
-