public class CertificateDetail extends Object implements Serializable, Cloneable
Contains detailed metadata about an ACM Certificate. This structure is returned in the response to a DescribeCertificate request.
| Constructor and Description |
|---|
CertificateDetail() |
| Modifier and Type | Method and Description |
|---|---|
CertificateDetail |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate.
|
Date |
getCreatedAt()
The time at which the certificate was requested.
|
String |
getDomainName()
The fully qualified domain name (FQDN) for the certificate, such as
www.example.com or example.com.
|
List<DomainValidation> |
getDomainValidationOptions()
Contains information about the email address or addresses used for domain
validation.
|
List<String> |
getInUseBy()
A list of ARNs for the resources that are using the certificate.
|
Date |
getIssuedAt()
The time at which the certificate was issued.
|
String |
getIssuer()
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
String |
getKeyAlgorithm()
The algorithm used to generate the key pair (the public and private key).
|
Date |
getNotAfter()
The time after which the certificate is not valid.
|
Date |
getNotBefore()
The time before which the certificate is not valid.
|
String |
getRevocationReason()
The reason the certificate was revoked.
|
Date |
getRevokedAt()
The time at which the certificate was revoked.
|
String |
getSerial()
The serial number of the certificate.
|
String |
getSignatureAlgorithm()
The algorithm used to generate a signature.
|
String |
getStatus()
The status of the certificate.
|
String |
getSubject()
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
List<String> |
getSubjectAlternativeNames()
One or more domain names (subject alternative names) included in the
certificate request.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
|
void |
setCreatedAt(Date createdAt)
The time at which the certificate was requested.
|
void |
setDomainName(String domainName)
The fully qualified domain name (FQDN) for the certificate, such as
www.example.com or example.com.
|
void |
setDomainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the email address or addresses used for domain
validation.
|
void |
setInUseBy(Collection<String> inUseBy)
A list of ARNs for the resources that are using the certificate.
|
void |
setIssuedAt(Date issuedAt)
The time at which the certificate was issued.
|
void |
setIssuer(String issuer)
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
void |
setKeyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
|
void |
setKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
|
void |
setNotAfter(Date notAfter)
The time after which the certificate is not valid.
|
void |
setNotBefore(Date notBefore)
The time before which the certificate is not valid.
|
void |
setRevocationReason(RevocationReason revocationReason)
The reason the certificate was revoked.
|
void |
setRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
void |
setRevokedAt(Date revokedAt)
The time at which the certificate was revoked.
|
void |
setSerial(String serial)
The serial number of the certificate.
|
void |
setSignatureAlgorithm(String signatureAlgorithm)
The algorithm used to generate a signature.
|
void |
setStatus(CertificateStatus status)
The status of the certificate.
|
void |
setStatus(String status)
The status of the certificate.
|
void |
setSubject(String subject)
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
void |
setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CertificateDetail |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
|
CertificateDetail |
withCreatedAt(Date createdAt)
The time at which the certificate was requested.
|
CertificateDetail |
withDomainName(String domainName)
The fully qualified domain name (FQDN) for the certificate, such as
www.example.com or example.com.
|
CertificateDetail |
withDomainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the email address or addresses used for domain
validation.
|
CertificateDetail |
withDomainValidationOptions(DomainValidation... domainValidationOptions)
Contains information about the email address or addresses used for domain
validation.
|
CertificateDetail |
withInUseBy(Collection<String> inUseBy)
A list of ARNs for the resources that are using the certificate.
|
CertificateDetail |
withInUseBy(String... inUseBy)
A list of ARNs for the resources that are using the certificate.
|
CertificateDetail |
withIssuedAt(Date issuedAt)
The time at which the certificate was issued.
|
CertificateDetail |
withIssuer(String issuer)
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
CertificateDetail |
withKeyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
|
CertificateDetail |
withKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
|
CertificateDetail |
withNotAfter(Date notAfter)
The time after which the certificate is not valid.
|
CertificateDetail |
withNotBefore(Date notBefore)
The time before which the certificate is not valid.
|
CertificateDetail |
withRevocationReason(RevocationReason revocationReason)
The reason the certificate was revoked.
|
CertificateDetail |
withRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
CertificateDetail |
withRevokedAt(Date revokedAt)
The time at which the certificate was revoked.
|
CertificateDetail |
withSerial(String serial)
The serial number of the certificate.
|
CertificateDetail |
withSignatureAlgorithm(String signatureAlgorithm)
The algorithm used to generate a signature.
|
CertificateDetail |
withStatus(CertificateStatus status)
The status of the certificate.
|
CertificateDetail |
withStatus(String status)
The status of the certificate.
|
CertificateDetail |
withSubject(String subject)
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
CertificateDetail |
withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
CertificateDetail |
withSubjectAlternativeNames(String... subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
certificateArn - The Amazon Resource Name (ARN) of the certificate. For more
information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.public String getCertificateArn()
The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
public CertificateDetail withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
certificateArn - The Amazon Resource Name (ARN) of the certificate. For more
information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.public void setDomainName(String domainName)
The fully qualified domain name (FQDN) for the certificate, such as www.example.com or example.com.
domainName - The fully qualified domain name (FQDN) for the certificate, such
as www.example.com or example.com.public String getDomainName()
The fully qualified domain name (FQDN) for the certificate, such as www.example.com or example.com.
public CertificateDetail withDomainName(String domainName)
The fully qualified domain name (FQDN) for the certificate, such as www.example.com or example.com.
domainName - The fully qualified domain name (FQDN) for the certificate, such
as www.example.com or example.com.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.
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.
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.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.
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.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.
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.public List<DomainValidation> getDomainValidationOptions()
Contains information about the email address or addresses used for domain validation.
public void setDomainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the email address or addresses used for domain validation.
domainValidationOptions - Contains information about the email address or addresses used for
domain validation.public CertificateDetail withDomainValidationOptions(DomainValidation... domainValidationOptions)
Contains information about the email address or addresses used for domain validation.
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.
domainValidationOptions - Contains information about the email address or addresses used for
domain validation.public CertificateDetail withDomainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the email address or addresses used for domain validation.
domainValidationOptions - Contains information about the email address or addresses used for
domain validation.public void setSerial(String serial)
The serial number of the certificate.
serial - The serial number of the certificate.public String getSerial()
The serial number of the certificate.
public CertificateDetail withSerial(String serial)
The serial number of the certificate.
serial - The serial number of the certificate.public void setSubject(String subject)
The X.500 distinguished name of the entity associated with the public key contained in the certificate.
subject - The X.500 distinguished name of the entity associated with the
public key contained in the certificate.public String getSubject()
The X.500 distinguished name of the entity associated with the public key contained in the certificate.
public CertificateDetail withSubject(String subject)
The X.500 distinguished name of the entity associated with the public key contained in the certificate.
subject - The X.500 distinguished name of the entity associated with the
public key contained in the certificate.public void setIssuer(String issuer)
The X.500 distinguished name of the CA that issued and signed the certificate.
issuer - The X.500 distinguished name of the CA that issued and signed the
certificate.public String getIssuer()
The X.500 distinguished name of the CA that issued and signed the certificate.
public CertificateDetail withIssuer(String issuer)
The X.500 distinguished name of the CA that issued and signed the certificate.
issuer - The X.500 distinguished name of the CA that issued and signed the
certificate.public void setCreatedAt(Date createdAt)
The time at which the certificate was requested.
createdAt - The time at which the certificate was requested.public Date getCreatedAt()
The time at which the certificate was requested.
public CertificateDetail withCreatedAt(Date createdAt)
The time at which the certificate was requested.
createdAt - The time at which the certificate was requested.public void setIssuedAt(Date issuedAt)
The time at which the certificate was issued.
issuedAt - The time at which the certificate was issued.public Date getIssuedAt()
The time at which the certificate was issued.
public CertificateDetail withIssuedAt(Date issuedAt)
The time at which the certificate was issued.
issuedAt - The time at which the certificate was issued.public void setStatus(String status)
The status of the certificate.
status - The status of the certificate.CertificateStatuspublic String getStatus()
The status of the certificate.
CertificateStatuspublic CertificateDetail withStatus(String status)
The status of the certificate.
status - The status of the certificate.CertificateStatuspublic void setStatus(CertificateStatus status)
The status of the certificate.
status - The status of the certificate.CertificateStatuspublic CertificateDetail withStatus(CertificateStatus status)
The status of the certificate.
status - The status of the certificate.CertificateStatuspublic void setRevokedAt(Date revokedAt)
The time at which the certificate was revoked. This value exists only
when the certificate status is REVOKED.
revokedAt - The time at which the certificate was revoked. This value exists
only when the certificate status is REVOKED.public Date getRevokedAt()
The time at which the certificate was revoked. This value exists only
when the certificate status is REVOKED.
REVOKED.public CertificateDetail withRevokedAt(Date revokedAt)
The time at which the certificate was revoked. This value exists only
when the certificate status is REVOKED.
revokedAt - The time at which the certificate was revoked. This value exists
only when the certificate status is REVOKED.public void setRevocationReason(String revocationReason)
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED.
revocationReason - The reason the certificate was revoked. This value exists only
when the certificate status is REVOKED.RevocationReasonpublic String getRevocationReason()
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED.
REVOKED.RevocationReasonpublic CertificateDetail withRevocationReason(String revocationReason)
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED.
revocationReason - The reason the certificate was revoked. This value exists only
when the certificate status is REVOKED.RevocationReasonpublic void setRevocationReason(RevocationReason revocationReason)
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED.
revocationReason - The reason the certificate was revoked. This value exists only
when the certificate status is REVOKED.RevocationReasonpublic CertificateDetail withRevocationReason(RevocationReason revocationReason)
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED.
revocationReason - The reason the certificate was revoked. This value exists only
when the certificate status is REVOKED.RevocationReasonpublic void setNotBefore(Date notBefore)
The time before which the certificate is not valid.
notBefore - The time before which the certificate is not valid.public Date getNotBefore()
The time before which the certificate is not valid.
public CertificateDetail withNotBefore(Date notBefore)
The time before which the certificate is not valid.
notBefore - The time before which the certificate is not valid.public void setNotAfter(Date notAfter)
The time after which the certificate is not valid.
notAfter - The time after which the certificate is not valid.public Date getNotAfter()
The time after which the certificate is not valid.
public CertificateDetail withNotAfter(Date notAfter)
The time after which the certificate is not valid.
notAfter - The time after which the certificate is not valid.public void setKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
Currently the only supported value is RSA_2048.
keyAlgorithm - The algorithm used to generate the key pair (the public and
private key). Currently the only supported value is
RSA_2048.KeyAlgorithmpublic String getKeyAlgorithm()
The algorithm used to generate the key pair (the public and private key).
Currently the only supported value is RSA_2048.
RSA_2048.KeyAlgorithmpublic CertificateDetail withKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
Currently the only supported value is RSA_2048.
keyAlgorithm - The algorithm used to generate the key pair (the public and
private key). Currently the only supported value is
RSA_2048.KeyAlgorithmpublic void setKeyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
Currently the only supported value is RSA_2048.
keyAlgorithm - The algorithm used to generate the key pair (the public and
private key). Currently the only supported value is
RSA_2048.KeyAlgorithmpublic CertificateDetail withKeyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
Currently the only supported value is RSA_2048.
keyAlgorithm - The algorithm used to generate the key pair (the public and
private key). Currently the only supported value is
RSA_2048.KeyAlgorithmpublic void setSignatureAlgorithm(String signatureAlgorithm)
The algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA.
signatureAlgorithm - The algorithm used to generate a signature. Currently the only
supported value is SHA256WITHRSA.public String getSignatureAlgorithm()
The algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA.
SHA256WITHRSA.public CertificateDetail withSignatureAlgorithm(String signatureAlgorithm)
The algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA.
signatureAlgorithm - The algorithm used to generate a signature. Currently the only
supported value is SHA256WITHRSA.public List<String> getInUseBy()
A list of ARNs for the resources that are using the certificate. An ACM Certificate can be used by multiple AWS resources.
public void setInUseBy(Collection<String> inUseBy)
A list of ARNs for the resources that are using the certificate. An ACM Certificate can be used by multiple AWS resources.
inUseBy - A list of ARNs for the resources that are using the certificate.
An ACM Certificate can be used by multiple AWS resources.public CertificateDetail withInUseBy(String... inUseBy)
A list of ARNs for the resources that are using the certificate. An 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.
inUseBy - A list of ARNs for the resources that are using the certificate.
An ACM Certificate can be used by multiple AWS resources.public CertificateDetail withInUseBy(Collection<String> inUseBy)
A list of ARNs for the resources that are using the certificate. An ACM Certificate can be used by multiple AWS resources.
inUseBy - A list of ARNs for the resources that are using the certificate.
An ACM Certificate can be used by multiple AWS resources.public String toString()
toString in class ObjectObject.toString()public CertificateDetail clone()
Copyright © 2016. All rights reserved.