public class CertificateDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This structure is returned in the response object of the DescribeCertificate action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateArn
Amazon Resource Name (ARN) of the certificate.
|
private java.util.Date |
createdAt
Time at which the certificate was requested.
|
private java.lang.String |
domainName
Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.
|
private java.util.List<DomainValidation> |
domainValidationOptions
References a DomainValidation structure that contains the domain
name in the certificate and the email address that can be used for
validation.
|
private java.util.List<java.lang.String> |
inUseBy
List that identifies ARNs that are using the certificate.
|
private java.util.Date |
issuedAt
Time at which the certificate was issued.
|
private java.lang.String |
issuer
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
private java.lang.String |
keyAlgorithm
Asymmetric algorithm used to generate the public and private key pair.
|
private java.util.Date |
notAfter
Time after which the certificate is not valid.
|
private java.util.Date |
notBefore
Time before which the certificate is not valid.
|
private java.lang.String |
revocationReason
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
private java.util.Date |
revokedAt
The time, if any, at which the certificate was revoked.
|
private java.lang.String |
serial
String that contains the serial number of the certificate.
|
private java.lang.String |
signatureAlgorithm
Algorithm used to generate a signature.
|
private java.lang.String |
status
A
CertificateStatus enumeration value that can contain one
of the following:
|
private java.lang.String |
subject
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
private java.util.List<java.lang.String> |
subjectAlternativeNames
One or more domain names (subject alternative names) included in the
certificate request.
|
Constructor and Description |
---|
CertificateDetail() |
Modifier and Type | Method and Description |
---|---|
CertificateDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateArn()
Amazon Resource Name (ARN) of the certificate.
|
java.util.Date |
getCreatedAt()
Time at which the certificate was requested.
|
java.lang.String |
getDomainName()
Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.
|
java.util.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.
|
java.util.List<java.lang.String> |
getInUseBy()
List that identifies ARNs that are using the certificate.
|
java.util.Date |
getIssuedAt()
Time at which the certificate was issued.
|
java.lang.String |
getIssuer()
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
java.lang.String |
getKeyAlgorithm()
Asymmetric algorithm used to generate the public and private key pair.
|
java.util.Date |
getNotAfter()
Time after which the certificate is not valid.
|
java.util.Date |
getNotBefore()
Time before which the certificate is not valid.
|
java.lang.String |
getRevocationReason()
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
java.util.Date |
getRevokedAt()
The time, if any, at which the certificate was revoked.
|
java.lang.String |
getSerial()
String that contains the serial number of the certificate.
|
java.lang.String |
getSignatureAlgorithm()
Algorithm used to generate a signature.
|
java.lang.String |
getStatus()
A
CertificateStatus enumeration value that can contain one
of the following:
|
java.lang.String |
getSubject()
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
java.util.List<java.lang.String> |
getSubjectAlternativeNames()
One or more domain names (subject alternative names) included in the
certificate request.
|
int |
hashCode() |
void |
setCertificateArn(java.lang.String certificateArn)
Amazon Resource Name (ARN) of the certificate.
|
void |
setCreatedAt(java.util.Date createdAt)
Time at which the certificate was requested.
|
void |
setDomainName(java.lang.String domainName)
Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.
|
void |
setDomainValidationOptions(java.util.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.
|
void |
setInUseBy(java.util.Collection<java.lang.String> inUseBy)
List that identifies ARNs that are using the certificate.
|
void |
setIssuedAt(java.util.Date issuedAt)
Time at which the certificate was issued.
|
void |
setIssuer(java.lang.String issuer)
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
void |
setKeyAlgorithm(KeyAlgorithm keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
|
void |
setKeyAlgorithm(java.lang.String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
|
void |
setNotAfter(java.util.Date notAfter)
Time after which the certificate is not valid.
|
void |
setNotBefore(java.util.Date notBefore)
Time before which the certificate is not valid.
|
void |
setRevocationReason(RevocationReason revocationReason)
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
void |
setRevocationReason(java.lang.String revocationReason)
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
void |
setRevokedAt(java.util.Date revokedAt)
The time, if any, at which the certificate was revoked.
|
void |
setSerial(java.lang.String serial)
String that contains the serial number of the certificate.
|
void |
setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Algorithm used to generate a signature.
|
void |
setStatus(CertificateStatus status)
A
CertificateStatus enumeration value that can contain one
of the following:
|
void |
setStatus(java.lang.String status)
A
CertificateStatus enumeration value that can contain one
of the following:
|
void |
setSubject(java.lang.String subject)
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
void |
setSubjectAlternativeNames(java.util.Collection<java.lang.String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CertificateDetail |
withCertificateArn(java.lang.String certificateArn)
Amazon Resource Name (ARN) of the certificate.
|
CertificateDetail |
withCreatedAt(java.util.Date createdAt)
Time at which the certificate was requested.
|
CertificateDetail |
withDomainName(java.lang.String domainName)
Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.
|
CertificateDetail |
withDomainValidationOptions(java.util.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.
|
CertificateDetail |
withDomainValidationOptions(DomainValidation... domainValidationOptions)
References a DomainValidation structure that contains the domain
name in the certificate and the email address that can be used for
validation.
|
CertificateDetail |
withInUseBy(java.util.Collection<java.lang.String> inUseBy)
List that identifies ARNs that are using the certificate.
|
CertificateDetail |
withInUseBy(java.lang.String... inUseBy)
List that identifies ARNs that are using the certificate.
|
CertificateDetail |
withIssuedAt(java.util.Date issuedAt)
Time at which the certificate was issued.
|
CertificateDetail |
withIssuer(java.lang.String issuer)
The X.500 distinguished name of the CA that issued and signed the
certificate.
|
CertificateDetail |
withKeyAlgorithm(KeyAlgorithm keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
|
CertificateDetail |
withKeyAlgorithm(java.lang.String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
|
CertificateDetail |
withNotAfter(java.util.Date notAfter)
Time after which the certificate is not valid.
|
CertificateDetail |
withNotBefore(java.util.Date notBefore)
Time before which the certificate is not valid.
|
CertificateDetail |
withRevocationReason(RevocationReason revocationReason)
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
CertificateDetail |
withRevocationReason(java.lang.String revocationReason)
A
RevocationReason enumeration value that indicates why the
certificate was revoked. |
CertificateDetail |
withRevokedAt(java.util.Date revokedAt)
The time, if any, at which the certificate was revoked.
|
CertificateDetail |
withSerial(java.lang.String serial)
String that contains the serial number of the certificate.
|
CertificateDetail |
withSignatureAlgorithm(java.lang.String signatureAlgorithm)
Algorithm used to generate a signature.
|
CertificateDetail |
withStatus(CertificateStatus status)
A
CertificateStatus enumeration value that can contain one
of the following:
|
CertificateDetail |
withStatus(java.lang.String status)
A
CertificateStatus enumeration value that can contain one
of the following:
|
CertificateDetail |
withSubject(java.lang.String subject)
The X.500 distinguished name of the entity associated with the public key
contained in the certificate.
|
CertificateDetail |
withSubjectAlternativeNames(java.util.Collection<java.lang.String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
CertificateDetail |
withSubjectAlternativeNames(java.lang.String... subjectAlternativeNames)
One or more domain names (subject alternative names) included in the
certificate request.
|
private java.lang.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.
private java.lang.String domainName
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
private java.util.List<java.lang.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.
private java.util.List<DomainValidation> domainValidationOptions
References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.
private java.lang.String serial
String that contains the serial number of the certificate.
private java.lang.String subject
The X.500 distinguished name of the entity associated with the public key contained in the certificate.
private java.lang.String issuer
The X.500 distinguished name of the CA that issued and signed the certificate.
private java.util.Date createdAt
Time at which the certificate was requested.
private java.util.Date issuedAt
Time at which the certificate was issued.
private java.lang.String status
A CertificateStatus
enumeration value that can contain one
of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
private java.util.Date revokedAt
The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
private java.lang.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
private java.util.Date notBefore
Time before which the certificate is not valid.
private java.util.Date notAfter
Time after which the certificate is not valid.
private java.lang.String keyAlgorithm
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
private java.lang.String signatureAlgorithm
Algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA
.
private java.util.List<java.lang.String> inUseBy
List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
public void setCertificateArn(java.lang.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.
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.
public java.lang.String getCertificateArn()
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.
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.
public CertificateDetail withCertificateArn(java.lang.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.
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.
public void setDomainName(java.lang.String domainName)
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
domainName
- Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.public java.lang.String getDomainName()
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
public CertificateDetail withDomainName(java.lang.String domainName)
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
domainName
- Fully qualified domain name (FQDN), such as www.example.com or
example.com, for the certificate.public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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.
public void setDomainValidationOptions(java.util.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.
domainValidationOptions
- References a DomainValidation structure that contains the
domain name in the certificate and the email address that can be
used for validation.public CertificateDetail withDomainValidationOptions(DomainValidation... domainValidationOptions)
References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for 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
- References a DomainValidation structure that contains the
domain name in the certificate and the email address that can be
used for validation.public CertificateDetail withDomainValidationOptions(java.util.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.
domainValidationOptions
- References a DomainValidation structure that contains the
domain name in the certificate and the email address that can be
used for validation.public void setSerial(java.lang.String serial)
String that contains the serial number of the certificate.
serial
- String that contains the serial number of the certificate.public java.lang.String getSerial()
String that contains the serial number of the certificate.
public CertificateDetail withSerial(java.lang.String serial)
String that contains the serial number of the certificate.
serial
- String that contains the serial number of the certificate.public void setSubject(java.lang.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 java.lang.String getSubject()
The X.500 distinguished name of the entity associated with the public key contained in the certificate.
public CertificateDetail withSubject(java.lang.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(java.lang.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 java.lang.String getIssuer()
The X.500 distinguished name of the CA that issued and signed the certificate.
public CertificateDetail withIssuer(java.lang.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(java.util.Date createdAt)
Time at which the certificate was requested.
createdAt
- Time at which the certificate was requested.public java.util.Date getCreatedAt()
Time at which the certificate was requested.
public CertificateDetail withCreatedAt(java.util.Date createdAt)
Time at which the certificate was requested.
createdAt
- Time at which the certificate was requested.public void setIssuedAt(java.util.Date issuedAt)
Time at which the certificate was issued.
issuedAt
- Time at which the certificate was issued.public java.util.Date getIssuedAt()
Time at which the certificate was issued.
public CertificateDetail withIssuedAt(java.util.Date issuedAt)
Time at which the certificate was issued.
issuedAt
- Time at which the certificate was issued.public void setStatus(java.lang.String status)
A CertificateStatus
enumeration value that can contain one
of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
status
- A CertificateStatus
enumeration value that can
contain one of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
public java.lang.String getStatus()
A CertificateStatus
enumeration value that can contain one
of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
enumeration value that can
contain one of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
public CertificateDetail withStatus(java.lang.String status)
A CertificateStatus
enumeration value that can contain one
of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
status
- A CertificateStatus
enumeration value that can
contain one of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
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
status
- A CertificateStatus
enumeration value that can
contain one of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
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
status
- A CertificateStatus
enumeration value that can
contain one of the following:
PENDING_VALIDATION
ISSUED
INACTIVE
EXPIRED
REVOKED
FAILED
VALIDATION_TIMED_OUT
CertificateStatus
public void setRevokedAt(java.util.Date revokedAt)
The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
revokedAt
- The time, if any, at which the certificate was revoked. This value
exists only if the certificate has been revoked.public java.util.Date getRevokedAt()
The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
public CertificateDetail withRevokedAt(java.util.Date revokedAt)
The time, if any, at which the certificate was revoked. This value exists only if the certificate has been revoked.
revokedAt
- The time, if any, at which the certificate was revoked. This value
exists only if the certificate has been revoked.public void setRevocationReason(java.lang.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
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
RevocationReason
public java.lang.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
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
RevocationReason
public CertificateDetail withRevocationReason(java.lang.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
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
RevocationReason
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
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
RevocationReason
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
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
RevocationReason
public void setNotBefore(java.util.Date notBefore)
Time before which the certificate is not valid.
notBefore
- Time before which the certificate is not valid.public java.util.Date getNotBefore()
Time before which the certificate is not valid.
public CertificateDetail withNotBefore(java.util.Date notBefore)
Time before which the certificate is not valid.
notBefore
- Time before which the certificate is not valid.public void setNotAfter(java.util.Date notAfter)
Time after which the certificate is not valid.
notAfter
- Time after which the certificate is not valid.public java.util.Date getNotAfter()
Time after which the certificate is not valid.
public CertificateDetail withNotAfter(java.util.Date notAfter)
Time after which the certificate is not valid.
notAfter
- Time after which the certificate is not valid.public void setKeyAlgorithm(java.lang.String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
keyAlgorithm
- Asymmetric algorithm used to generate the public and private key
pair. Currently the only supported value is RSA_2048
.KeyAlgorithm
public java.lang.String getKeyAlgorithm()
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
RSA_2048
.KeyAlgorithm
public CertificateDetail withKeyAlgorithm(java.lang.String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
keyAlgorithm
- Asymmetric algorithm used to generate the public and private key
pair. Currently the only supported value is RSA_2048
.KeyAlgorithm
public void setKeyAlgorithm(KeyAlgorithm keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
keyAlgorithm
- Asymmetric algorithm used to generate the public and private key
pair. Currently the only supported value is RSA_2048
.KeyAlgorithm
public CertificateDetail withKeyAlgorithm(KeyAlgorithm keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.
Currently the only supported value is RSA_2048
.
keyAlgorithm
- Asymmetric algorithm used to generate the public and private key
pair. Currently the only supported value is RSA_2048
.KeyAlgorithm
public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA
.
signatureAlgorithm
- Algorithm used to generate a signature. Currently the only
supported value is SHA256WITHRSA
.public java.lang.String getSignatureAlgorithm()
Algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA
.
SHA256WITHRSA
.public CertificateDetail withSignatureAlgorithm(java.lang.String signatureAlgorithm)
Algorithm used to generate a signature. Currently the only supported
value is SHA256WITHRSA
.
signatureAlgorithm
- Algorithm used to generate a signature. Currently the only
supported value is SHA256WITHRSA
.public java.util.List<java.lang.String> getInUseBy()
List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
public void setInUseBy(java.util.Collection<java.lang.String> inUseBy)
List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
inUseBy
- List that identifies ARNs that are using the certificate. A single
ACM Certificate can be used by multiple AWS resources.public CertificateDetail withInUseBy(java.lang.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.
inUseBy
- List that identifies ARNs that are using the certificate. A single
ACM Certificate can be used by multiple AWS resources.public CertificateDetail withInUseBy(java.util.Collection<java.lang.String> inUseBy)
List that identifies ARNs that are using the certificate. A single ACM Certificate can be used by multiple AWS resources.
inUseBy
- List that identifies ARNs that are using the certificate. A single
ACM Certificate can be used by multiple AWS resources.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CertificateDetail clone()
clone
in class java.lang.Object