Class RequestCertificateRequest

    • Constructor Detail

      • RequestCertificateRequest

        public RequestCertificateRequest()
    • 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 the DomainName 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) or withSubjectAlternativeNames(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 the DomainName 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 the DomainName 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 call RequestCertificate 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 to RequestCertificate. Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate 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 call RequestCertificate 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 call RequestCertificate 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 call RequestCertificate 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 to RequestCertificate. Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate 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 the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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) or withDomainValidationOptions(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 the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 the Domain value or a superdomain of the Domain value. For example, if you requested a certificate for test.example.com and specify DomainValidationOptions of example.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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object