Class Certificate
- All Implemented Interfaces:
Serializable
,Cloneable
A CA certificate for an AWS account.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The unique key that identifies a certificate.The type of the certificate.The thumbprint of the certificate.The starting date from which the certificate is valid.The final date that the certificate continues to be valid.int
hashCode()
void
setCertificateIdentifier
(String certificateIdentifier) The unique key that identifies a certificate.void
setCertificateType
(String certificateType) The type of the certificate.void
setThumbprint
(String thumbprint) The thumbprint of the certificate.void
setValidFrom
(Date validFrom) The starting date from which the certificate is valid.void
setValidTill
(Date validTill) The final date that the certificate continues to be valid.toString()
Returns a string representation of this object; useful for testing and debugging.withCertificateIdentifier
(String certificateIdentifier) The unique key that identifies a certificate.withCertificateType
(String certificateType) The type of the certificate.withThumbprint
(String thumbprint) The thumbprint of the certificate.withValidFrom
(Date validFrom) The starting date from which the certificate is valid.withValidTill
(Date validTill) The final date that the certificate continues to be valid.
-
Constructor Details
-
Certificate
public Certificate()
-
-
Method Details
-
setCertificateIdentifier
The unique key that identifies a certificate.
- Parameters:
certificateIdentifier
- The unique key that identifies a certificate.
-
getCertificateIdentifier
The unique key that identifies a certificate.
- Returns:
- The unique key that identifies a certificate.
-
withCertificateIdentifier
The unique key that identifies a certificate.
- Parameters:
certificateIdentifier
- The unique key that identifies a certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateType
The type of the certificate.
- Parameters:
certificateType
- The type of the certificate.
-
getCertificateType
The type of the certificate.
- Returns:
- The type of the certificate.
-
withCertificateType
The type of the certificate.
- Parameters:
certificateType
- The type of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setThumbprint
The thumbprint of the certificate.
- Parameters:
thumbprint
- The thumbprint of the certificate.
-
getThumbprint
The thumbprint of the certificate.
- Returns:
- The thumbprint of the certificate.
-
withThumbprint
The thumbprint of the certificate.
- Parameters:
thumbprint
- The thumbprint of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValidFrom
The starting date from which the certificate is valid.
- Parameters:
validFrom
- The starting date from which the certificate is valid.
-
getValidFrom
The starting date from which the certificate is valid.
- Returns:
- The starting date from which the certificate is valid.
-
withValidFrom
The starting date from which the certificate is valid.
- Parameters:
validFrom
- The starting date from which the certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValidTill
The final date that the certificate continues to be valid.
- Parameters:
validTill
- The final date that the certificate continues to be valid.
-
getValidTill
The final date that the certificate continues to be valid.
- Returns:
- The final date that the certificate continues to be valid.
-
withValidTill
The final date that the certificate continues to be valid.
- Parameters:
validTill
- The final date that the certificate continues to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-