Class CertificateDetail

    • Constructor Detail

      • CertificateDetail

        public CertificateDetail()
    • Method Detail

      • setCertificateArn

        public void setCertificateArn​(String certificateArn)

        Amazon Resource Name (ARN) of the certificate. This is of the form:

        arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

        For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

        Parameters:
        certificateArn - Amazon Resource Name (ARN) of the certificate. This is of the form:

        arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

        For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

      • withCertificateArn

        public CertificateDetail withCertificateArn​(String certificateArn)

        Amazon Resource Name (ARN) of the certificate. This is of the form:

        arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

        For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

        Parameters:
        certificateArn - Amazon Resource Name (ARN) of the certificate. This is of the form:

        arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

        For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomainName

        public void setDomainName​(String domainName)

        Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.

        Parameters:
        domainName - Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
      • getDomainName

        public String getDomainName()

        Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.

        Returns:
        Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
      • withDomainName

        public CertificateDetail withDomainName​(String domainName)

        Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.

        Parameters:
        domainName - Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSubjectAlternativeNames

        public List<String> getSubjectAlternativeNames()

        One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

        Returns:
        One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
      • setSubjectAlternativeNames

        public void setSubjectAlternativeNames​(Collection<String> subjectAlternativeNames)

        One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

        Parameters:
        subjectAlternativeNames - One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
      • withSubjectAlternativeNames

        public CertificateDetail withSubjectAlternativeNames​(String... subjectAlternativeNames)

        One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

        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 - One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSubjectAlternativeNames

        public CertificateDetail withSubjectAlternativeNames​(Collection<String> subjectAlternativeNames)

        One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.

        Parameters:
        subjectAlternativeNames - One or more domain names (subject alternative names) included in the certificate request. After the certificate is issued, this list includes the domain names bound to the public key contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getDomainValidationOptions

        public List<DomainValidation> getDomainValidationOptions()

        References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.

        Returns:
        References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.
      • setDomainValidationOptions

        public void setDomainValidationOptions​(Collection<DomainValidation> domainValidationOptions)

        References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.

        Parameters:
        domainValidationOptions - References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.
      • withDomainValidationOptions

        public CertificateDetail withDomainValidationOptions​(Collection<DomainValidation> domainValidationOptions)

        References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.

        Parameters:
        domainValidationOptions - References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSerial

        public void setSerial​(String serial)

        String that contains the serial number of the certificate.

        Parameters:
        serial - String that contains the serial number of the certificate.
      • getSerial

        public String getSerial()

        String that contains the serial number of the certificate.

        Returns:
        String that contains the serial number of the certificate.
      • withSerial

        public CertificateDetail withSerial​(String serial)

        String that contains the serial number of the certificate.

        Parameters:
        serial - String that contains the serial number of the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSubject

        public void setSubject​(String subject)

        The X.500 distinguished name of the entity associated with the public key contained in the certificate.

        Parameters:
        subject - The X.500 distinguished name of the entity associated with the public key contained in the certificate.
      • getSubject

        public String getSubject()

        The X.500 distinguished name of the entity associated with the public key contained in the certificate.

        Returns:
        The X.500 distinguished name of the entity associated with the public key contained in the certificate.
      • withSubject

        public CertificateDetail withSubject​(String subject)

        The X.500 distinguished name of the entity associated with the public key contained in the certificate.

        Parameters:
        subject - The X.500 distinguished name of the entity associated with the public key contained in the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIssuer

        public void setIssuer​(String issuer)

        The X.500 distinguished name of the CA that issued and signed the certificate.

        Parameters:
        issuer - The X.500 distinguished name of the CA that issued and signed the certificate.
      • getIssuer

        public String getIssuer()

        The X.500 distinguished name of the CA that issued and signed the certificate.

        Returns:
        The X.500 distinguished name of the CA that issued and signed the certificate.
      • withIssuer

        public CertificateDetail withIssuer​(String issuer)

        The X.500 distinguished name of the CA that issued and signed the certificate.

        Parameters:
        issuer - The X.500 distinguished name of the CA that issued and signed the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedAt

        public void setCreatedAt​(Date createdAt)

        Time at which the certificate was requested.

        Parameters:
        createdAt - Time at which the certificate was requested.
      • getCreatedAt

        public Date getCreatedAt()

        Time at which the certificate was requested.

        Returns:
        Time at which the certificate was requested.
      • withCreatedAt

        public CertificateDetail withCreatedAt​(Date createdAt)

        Time at which the certificate was requested.

        Parameters:
        createdAt - Time at which the certificate was requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIssuedAt

        public void setIssuedAt​(Date issuedAt)

        Time at which the certificate was issued.

        Parameters:
        issuedAt - Time at which the certificate was issued.
      • getIssuedAt

        public Date getIssuedAt()

        Time at which the certificate was issued.

        Returns:
        Time at which the certificate was issued.
      • withIssuedAt

        public CertificateDetail withIssuedAt​(Date issuedAt)

        Time at which the certificate was issued.

        Parameters:
        issuedAt - Time at which the certificate was issued.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        A CertificateStatus enumeration value that can contain one of the following:

        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Parameters:
        status - A CertificateStatus enumeration value that can contain one of the following:
        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        See Also:
        CertificateStatus
      • getStatus

        public String getStatus()

        A CertificateStatus enumeration value that can contain one of the following:

        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Returns:
        A CertificateStatus enumeration value that can contain one of the following:
        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        See Also:
        CertificateStatus
      • withStatus

        public CertificateDetail withStatus​(String status)

        A CertificateStatus enumeration value that can contain one of the following:

        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Parameters:
        status - A CertificateStatus enumeration value that can contain one of the following:
        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateStatus
      • setStatus

        public void setStatus​(CertificateStatus status)

        A CertificateStatus enumeration value that can contain one of the following:

        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Parameters:
        status - A CertificateStatus enumeration value that can contain one of the following:
        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        See Also:
        CertificateStatus
      • withStatus

        public CertificateDetail withStatus​(CertificateStatus status)

        A CertificateStatus enumeration value that can contain one of the following:

        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Parameters:
        status - A CertificateStatus enumeration value that can contain one of the following:
        • PENDING_VALIDATION

        • ISSUED

        • INACTIVE

        • EXPIRED

        • REVOKED

        • FAILED

        • VALIDATION_TIMED_OUT

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateStatus
      • setRevokedAt

        public void setRevokedAt​(Date revokedAt)

        The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.

        Parameters:
        revokedAt - The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
      • getRevokedAt

        public Date getRevokedAt()

        The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.

        Returns:
        The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
      • withRevokedAt

        public CertificateDetail withRevokedAt​(Date revokedAt)

        The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.

        Parameters:
        revokedAt - The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevocationReason

        public void setRevocationReason​(String revocationReason)

        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:

        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Parameters:
        revocationReason - A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:
        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        See Also:
        RevocationReason
      • getRevocationReason

        public String getRevocationReason()

        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:

        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Returns:
        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:
        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        See Also:
        RevocationReason
      • withRevocationReason

        public CertificateDetail withRevocationReason​(String revocationReason)

        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:

        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Parameters:
        revocationReason - A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:
        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RevocationReason
      • setRevocationReason

        public void setRevocationReason​(RevocationReason revocationReason)

        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:

        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Parameters:
        revocationReason - A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:
        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        See Also:
        RevocationReason
      • withRevocationReason

        public CertificateDetail withRevocationReason​(RevocationReason revocationReason)

        A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:

        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Parameters:
        revocationReason - A RevocationReason enumeration value that indicates why the certificate was revoked. This value exists only if the certificate has been revoked. This can be one of the following vales:
        • UNSPECIFIED

        • KEY_COMPROMISE

        • CA_COMPROMISE

        • AFFILIATION_CHANGED

        • SUPERCEDED

        • CESSATION_OF_OPERATION

        • CERTIFICATE_HOLD

        • REMOVE_FROM_CRL

        • PRIVILEGE_WITHDRAWN

        • A_A_COMPROMISE

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RevocationReason
      • setNotBefore

        public void setNotBefore​(Date notBefore)

        Time before which the certificate is not valid.

        Parameters:
        notBefore - Time before which the certificate is not valid.
      • getNotBefore

        public Date getNotBefore()

        Time before which the certificate is not valid.

        Returns:
        Time before which the certificate is not valid.
      • withNotBefore

        public CertificateDetail withNotBefore​(Date notBefore)

        Time before which the certificate is not valid.

        Parameters:
        notBefore - Time before which the certificate is not valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNotAfter

        public void setNotAfter​(Date notAfter)

        Time after which the certificate is not valid.

        Parameters:
        notAfter - Time after which the certificate is not valid.
      • getNotAfter

        public Date getNotAfter()

        Time after which the certificate is not valid.

        Returns:
        Time after which the certificate is not valid.
      • withNotAfter

        public CertificateDetail withNotAfter​(Date notAfter)

        Time after which the certificate is not valid.

        Parameters:
        notAfter - Time after which the certificate is not valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKeyAlgorithm

        public void setKeyAlgorithm​(String keyAlgorithm)

        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.

        Parameters:
        keyAlgorithm - Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.
        See Also:
        KeyAlgorithm
      • getKeyAlgorithm

        public String getKeyAlgorithm()

        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.

        Returns:
        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048 .
        See Also:
        KeyAlgorithm
      • withKeyAlgorithm

        public CertificateDetail withKeyAlgorithm​(String keyAlgorithm)

        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.

        Parameters:
        keyAlgorithm - Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyAlgorithm
      • setKeyAlgorithm

        public void setKeyAlgorithm​(KeyAlgorithm keyAlgorithm)

        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.

        Parameters:
        keyAlgorithm - Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.
        See Also:
        KeyAlgorithm
      • withKeyAlgorithm

        public CertificateDetail withKeyAlgorithm​(KeyAlgorithm keyAlgorithm)

        Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.

        Parameters:
        keyAlgorithm - Asymmetric algorithm used to generate the public and private key pair. Currently the only supported value is RSA_2048.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyAlgorithm
      • setSignatureAlgorithm

        public void setSignatureAlgorithm​(String signatureAlgorithm)

        Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.

        Parameters:
        signatureAlgorithm - Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.
      • getSignatureAlgorithm

        public String getSignatureAlgorithm()

        Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.

        Returns:
        Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.
      • withSignatureAlgorithm

        public CertificateDetail withSignatureAlgorithm​(String signatureAlgorithm)

        Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.

        Parameters:
        signatureAlgorithm - Algorithm used to generate a signature. Currently the only supported value is SHA256WITHRSA.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInUseBy

        public List<String> getInUseBy()

        List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.

        Returns:
        List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
      • setInUseBy

        public void setInUseBy​(Collection<String> inUseBy)

        List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.

        Parameters:
        inUseBy - List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
      • withInUseBy

        public CertificateDetail withInUseBy​(String... inUseBy)

        List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.

        NOTE: This method appends the values to the existing list (if any). Use setInUseBy(java.util.Collection) or withInUseBy(java.util.Collection) if you want to override the existing values.

        Parameters:
        inUseBy - List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withInUseBy

        public CertificateDetail withInUseBy​(Collection<String> inUseBy)

        List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.

        Parameters:
        inUseBy - List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
        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