Class CertificateDetail
- java.lang.Object
-
- com.amazonaws.services.certificatemanager.model.CertificateDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CertificateDetail extends Object implements Serializable, Cloneable
This structure is returned in the response object of the DescribeCertificate action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateDetail
clone()
boolean
equals(Object obj)
String
getCertificateArn()
Amazon Resource Name (ARN) of the certificate.Date
getCreatedAt()
Time at which the certificate was requested.String
getDomainName()
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.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.List<String>
getInUseBy()
List that identifies ARNs that are using the certificate.Date
getIssuedAt()
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()
Asymmetric algorithm used to generate the public and private key pair.Date
getNotAfter()
Time after which the certificate is not valid.Date
getNotBefore()
Time before which the certificate is not valid.String
getRevocationReason()
ARevocationReason
enumeration value that indicates why the certificate was revoked.Date
getRevokedAt()
The time, if any, at which the certificate was revoked.String
getSerial()
String that contains the serial number of the certificate.String
getSignatureAlgorithm()
Algorithm used to generate a signature.String
getStatus()
ACertificateStatus
enumeration value that can contain one of the following: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)
Amazon Resource Name (ARN) of the certificate.void
setCreatedAt(Date createdAt)
Time at which the certificate was requested.void
setDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.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.void
setInUseBy(Collection<String> inUseBy)
List that identifies ARNs that are using the certificate.void
setIssuedAt(Date issuedAt)
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)
Asymmetric algorithm used to generate the public and private key pair.void
setKeyAlgorithm(String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.void
setNotAfter(Date notAfter)
Time after which the certificate is not valid.void
setNotBefore(Date notBefore)
Time before which the certificate is not valid.void
setRevocationReason(RevocationReason revocationReason)
ARevocationReason
enumeration value that indicates why the certificate was revoked.void
setRevocationReason(String revocationReason)
ARevocationReason
enumeration value that indicates why the certificate was revoked.void
setRevokedAt(Date revokedAt)
The time, if any, at which the certificate was revoked.void
setSerial(String serial)
String that contains the serial number of the certificate.void
setSignatureAlgorithm(String signatureAlgorithm)
Algorithm used to generate a signature.void
setStatus(CertificateStatus status)
ACertificateStatus
enumeration value that can contain one of the following:void
setStatus(String status)
ACertificateStatus
enumeration value that can contain one of the following: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)
Amazon Resource Name (ARN) of the certificate.CertificateDetail
withCreatedAt(Date createdAt)
Time at which the certificate was requested.CertificateDetail
withDomainName(String domainName)
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.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
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.CertificateDetail
withInUseBy(String... inUseBy)
List that identifies ARNs that are using the certificate.CertificateDetail
withInUseBy(Collection<String> inUseBy)
List that identifies ARNs that are using the certificate.CertificateDetail
withIssuedAt(Date issuedAt)
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)
Asymmetric algorithm used to generate the public and private key pair.CertificateDetail
withKeyAlgorithm(String keyAlgorithm)
Asymmetric algorithm used to generate the public and private key pair.CertificateDetail
withNotAfter(Date notAfter)
Time after which the certificate is not valid.CertificateDetail
withNotBefore(Date notBefore)
Time before which the certificate is not valid.CertificateDetail
withRevocationReason(RevocationReason revocationReason)
ARevocationReason
enumeration value that indicates why the certificate was revoked.CertificateDetail
withRevocationReason(String revocationReason)
ARevocationReason
enumeration value that indicates why the certificate was revoked.CertificateDetail
withRevokedAt(Date revokedAt)
The time, if any, at which the certificate was revoked.CertificateDetail
withSerial(String serial)
String that contains the serial number of the certificate.CertificateDetail
withSignatureAlgorithm(String signatureAlgorithm)
Algorithm used to generate a signature.CertificateDetail
withStatus(CertificateStatus status)
ACertificateStatus
enumeration value that can contain one of the following:CertificateDetail
withStatus(String status)
ACertificateStatus
enumeration value that can contain one of the following:CertificateDetail
withSubject(String subject)
The X.500 distinguished name of the entity associated with the public key contained in the certificate.CertificateDetail
withSubjectAlternativeNames(String... subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate request.CertificateDetail
withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate request.
-
-
-
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.
-
getCertificateArn
public 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.
- Returns:
- 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)
orwithSubjectAlternativeNames(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(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)
orwithDomainValidationOptions(java.util.Collection)
if you want to override the existing values.- 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.
-
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
- ACertificateStatus
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
- ACertificateStatus
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
- ACertificateStatus
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
- ACertificateStatus
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
- ARevocationReason
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
- ARevocationReason
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
- ARevocationReason
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
- ARevocationReason
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 isRSA_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 isRSA_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 isRSA_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 isRSA_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 isSHA256WITHRSA
.
-
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 isSHA256WITHRSA
.- 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)
orwithInUseBy(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CertificateDetail clone()
-
-