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 CertificateDetailclone()booleanequals(Object obj)StringgetCertificateArn()Amazon Resource Name (ARN) of the certificate.DategetCreatedAt()Time at which the certificate was requested.StringgetDomainName()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.DategetIssuedAt()Time at which the certificate was issued.StringgetIssuer()The X.500 distinguished name of the CA that issued and signed the certificate.StringgetKeyAlgorithm()Asymmetric algorithm used to generate the public and private key pair.DategetNotAfter()Time after which the certificate is not valid.DategetNotBefore()Time before which the certificate is not valid.StringgetRevocationReason()ARevocationReasonenumeration value that indicates why the certificate was revoked.DategetRevokedAt()The time, if any, at which the certificate was revoked.StringgetSerial()String that contains the serial number of the certificate.StringgetSignatureAlgorithm()Algorithm used to generate a signature.StringgetStatus()ACertificateStatusenumeration value that can contain one of the following:StringgetSubject()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.inthashCode()voidsetCertificateArn(String certificateArn)Amazon Resource Name (ARN) of the certificate.voidsetCreatedAt(Date createdAt)Time at which the certificate was requested.voidsetDomainName(String domainName)Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.voidsetDomainValidationOptions(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.voidsetInUseBy(Collection<String> inUseBy)List that identifies ARNs that are using the certificate.voidsetIssuedAt(Date issuedAt)Time at which the certificate was issued.voidsetIssuer(String issuer)The X.500 distinguished name of the CA that issued and signed the certificate.voidsetKeyAlgorithm(KeyAlgorithm keyAlgorithm)Asymmetric algorithm used to generate the public and private key pair.voidsetKeyAlgorithm(String keyAlgorithm)Asymmetric algorithm used to generate the public and private key pair.voidsetNotAfter(Date notAfter)Time after which the certificate is not valid.voidsetNotBefore(Date notBefore)Time before which the certificate is not valid.voidsetRevocationReason(RevocationReason revocationReason)ARevocationReasonenumeration value that indicates why the certificate was revoked.voidsetRevocationReason(String revocationReason)ARevocationReasonenumeration value that indicates why the certificate was revoked.voidsetRevokedAt(Date revokedAt)The time, if any, at which the certificate was revoked.voidsetSerial(String serial)String that contains the serial number of the certificate.voidsetSignatureAlgorithm(String signatureAlgorithm)Algorithm used to generate a signature.voidsetStatus(CertificateStatus status)ACertificateStatusenumeration value that can contain one of the following:voidsetStatus(String status)ACertificateStatusenumeration value that can contain one of the following:voidsetSubject(String subject)The X.500 distinguished name of the entity associated with the public key contained in the certificate.voidsetSubjectAlternativeNames(Collection<String> subjectAlternativeNames)One or more domain names (subject alternative names) included in the certificate request.StringtoString()Returns a string representation of this object; useful for testing and debugging.CertificateDetailwithCertificateArn(String certificateArn)Amazon Resource Name (ARN) of the certificate.CertificateDetailwithCreatedAt(Date createdAt)Time at which the certificate was requested.CertificateDetailwithDomainName(String domainName)Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.CertificateDetailwithDomainValidationOptions(DomainValidation... domainValidationOptions)References a DomainValidation structure that contains the domain name in the certificate and the email address that can be used for validation.CertificateDetailwithDomainValidationOptions(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.CertificateDetailwithInUseBy(String... inUseBy)List that identifies ARNs that are using the certificate.CertificateDetailwithInUseBy(Collection<String> inUseBy)List that identifies ARNs that are using the certificate.CertificateDetailwithIssuedAt(Date issuedAt)Time at which the certificate was issued.CertificateDetailwithIssuer(String issuer)The X.500 distinguished name of the CA that issued and signed the certificate.CertificateDetailwithKeyAlgorithm(KeyAlgorithm keyAlgorithm)Asymmetric algorithm used to generate the public and private key pair.CertificateDetailwithKeyAlgorithm(String keyAlgorithm)Asymmetric algorithm used to generate the public and private key pair.CertificateDetailwithNotAfter(Date notAfter)Time after which the certificate is not valid.CertificateDetailwithNotBefore(Date notBefore)Time before which the certificate is not valid.CertificateDetailwithRevocationReason(RevocationReason revocationReason)ARevocationReasonenumeration value that indicates why the certificate was revoked.CertificateDetailwithRevocationReason(String revocationReason)ARevocationReasonenumeration value that indicates why the certificate was revoked.CertificateDetailwithRevokedAt(Date revokedAt)The time, if any, at which the certificate was revoked.CertificateDetailwithSerial(String serial)String that contains the serial number of the certificate.CertificateDetailwithSignatureAlgorithm(String signatureAlgorithm)Algorithm used to generate a signature.CertificateDetailwithStatus(CertificateStatus status)ACertificateStatusenumeration value that can contain one of the following:CertificateDetailwithStatus(String status)ACertificateStatusenumeration value that can contain one of the following:CertificateDetailwithSubject(String subject)The X.500 distinguished name of the entity associated with the public key contained in the certificate.CertificateDetailwithSubjectAlternativeNames(String... subjectAlternativeNames)One or more domain names (subject alternative names) included in the certificate request.CertificateDetailwithSubjectAlternativeNames(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-123456789012For 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-123456789012For 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-123456789012For 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-123456789012For 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-123456789012For 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-123456789012For 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
CertificateStatusenumeration value that can contain one of the following:-
PENDING_VALIDATION
-
ISSUED
-
INACTIVE
-
EXPIRED
-
REVOKED
-
FAILED
-
VALIDATION_TIMED_OUT
- Parameters:
status- ACertificateStatusenumeration 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
CertificateStatusenumeration value that can contain one of the following:-
PENDING_VALIDATION
-
ISSUED
-
INACTIVE
-
EXPIRED
-
REVOKED
-
FAILED
-
VALIDATION_TIMED_OUT
- Returns:
- A
CertificateStatusenumeration 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
CertificateStatusenumeration value that can contain one of the following:-
PENDING_VALIDATION
-
ISSUED
-
INACTIVE
-
EXPIRED
-
REVOKED
-
FAILED
-
VALIDATION_TIMED_OUT
- Parameters:
status- ACertificateStatusenumeration 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
CertificateStatusenumeration value that can contain one of the following:-
PENDING_VALIDATION
-
ISSUED
-
INACTIVE
-
EXPIRED
-
REVOKED
-
FAILED
-
VALIDATION_TIMED_OUT
- Parameters:
status- ACertificateStatusenumeration 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
CertificateStatusenumeration value that can contain one of the following:-
PENDING_VALIDATION
-
ISSUED
-
INACTIVE
-
EXPIRED
-
REVOKED
-
FAILED
-
VALIDATION_TIMED_OUT
- Parameters:
status- ACertificateStatusenumeration 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
RevocationReasonenumeration 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- ARevocationReasonenumeration 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
RevocationReasonenumeration 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
RevocationReasonenumeration 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
RevocationReasonenumeration 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- ARevocationReasonenumeration 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
RevocationReasonenumeration 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- ARevocationReasonenumeration 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
RevocationReasonenumeration 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- ARevocationReasonenumeration 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CertificateDetail clone()
-
-