Class RequestCertificateRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.certificatemanager.model.RequestCertificateRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RequestCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RequestCertificateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestCertificateRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDomainName()
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate.List<DomainValidationOption>
getDomainValidationOptions()
The base validation domain that will act as the suffix of the email addresses that are used to send the emails.String
getIdempotencyToken()
Customer chosen string that can be used to distinguish between calls toRequestCertificate
.List<String>
getSubjectAlternativeNames()
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate.int
hashCode()
void
setDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate.void
setDomainValidationOptions(Collection<DomainValidationOption> domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails.void
setIdempotencyToken(String idempotencyToken)
Customer chosen string that can be used to distinguish between calls toRequestCertificate
.void
setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate.String
toString()
Returns a string representation of this object; useful for testing and debugging.RequestCertificateRequest
withDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate.RequestCertificateRequest
withDomainValidationOptions(DomainValidationOption... domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails.RequestCertificateRequest
withDomainValidationOptions(Collection<DomainValidationOption> domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails.RequestCertificateRequest
withIdempotencyToken(String idempotencyToken)
Customer chosen string that can be used to distinguish between calls toRequestCertificate
.RequestCertificateRequest
withSubjectAlternativeNames(String... subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate.RequestCertificateRequest
withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
- Parameters:
domainName
- Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
-
getDomainName
public String getDomainName()
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
- Returns:
- Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
-
withDomainName
public RequestCertificateRequest withDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
- Parameters:
domainName
- Fully qualified domain name (FQDN), such as www.example.com, of the site you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubjectAlternativeNames
public List<String> getSubjectAlternativeNames()
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the
DomainName
field is www.example.com if users can reach your site by using either name.- Returns:
- Additional FQDNs to be included in the Subject Alternative Name
extension of the ACM Certificate. For example, add the name
www.example.net to a certificate for which the
DomainName
field is www.example.com if users can reach your site by using either name.
-
setSubjectAlternativeNames
public void setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the
DomainName
field is www.example.com if users can reach your site by using either name.- Parameters:
subjectAlternativeNames
- Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which theDomainName
field is www.example.com if users can reach your site by using either name.
-
withSubjectAlternativeNames
public RequestCertificateRequest withSubjectAlternativeNames(String... subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the
DomainName
field is www.example.com if users can reach your site by using either name.NOTE: This method appends the values to the existing list (if any). Use
setSubjectAlternativeNames(java.util.Collection)
orwithSubjectAlternativeNames(java.util.Collection)
if you want to override the existing values.- Parameters:
subjectAlternativeNames
- Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which theDomainName
field is www.example.com if users can reach your site by using either name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubjectAlternativeNames
public RequestCertificateRequest withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the
DomainName
field is www.example.com if users can reach your site by using either name.- Parameters:
subjectAlternativeNames
- Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which theDomainName
field is www.example.com if users can reach your site by using either name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdempotencyToken
public void setIdempotencyToken(String idempotencyToken)
Customer chosen string that can be used to distinguish between calls to
RequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.- Parameters:
idempotencyToken
- Customer chosen string that can be used to distinguish between calls toRequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.
-
getIdempotencyToken
public String getIdempotencyToken()
Customer chosen string that can be used to distinguish between calls to
RequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.- Returns:
- Customer chosen string that can be used to distinguish between
calls to
RequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.
-
withIdempotencyToken
public RequestCertificateRequest withIdempotencyToken(String idempotencyToken)
Customer chosen string that can be used to distinguish between calls to
RequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.- Parameters:
idempotencyToken
- Customer chosen string that can be used to distinguish between calls toRequestCertificate
. Idempotency tokens time out after one hour. Therefore, if you callRequestCertificate
multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDomainValidationOptions
public List<DomainValidationOption> getDomainValidationOptions()
The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the
Domain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
- Returns:
- The base validation domain that will act as the suffix of the
email addresses that are used to send the emails. This must be
the same as the
Domain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
-
-
-
setDomainValidationOptions
public void setDomainValidationOptions(Collection<DomainValidationOption> domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the
Domain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
- Parameters:
domainValidationOptions
- The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as theDomain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
-
-
-
withDomainValidationOptions
public RequestCertificateRequest withDomainValidationOptions(DomainValidationOption... domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the
Domain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
NOTE: This method appends the values to the existing list (if any). Use
setDomainValidationOptions(java.util.Collection)
orwithDomainValidationOptions(java.util.Collection)
if you want to override the existing values.- Parameters:
domainValidationOptions
- The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as theDomain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withDomainValidationOptions
public RequestCertificateRequest withDomainValidationOptions(Collection<DomainValidationOption> domainValidationOptions)
The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the
Domain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
- Parameters:
domainValidationOptions
- The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as theDomain
value or a superdomain of theDomain
value. For example, if you requested a certificate fortest.example.com
and specify DomainValidationOptions ofexample.com
, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@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 RequestCertificateRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-