public class Certificate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A CA certificate for an AWS account.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateIdentifier
The unique key that identifies a certificate.
|
private java.lang.String |
certificateType
The type of the certificate.
|
private java.lang.String |
thumbprint
The thumbprint of the certificate.
|
private java.util.Date |
validFrom
The starting date from which the certificate is valid.
|
private java.util.Date |
validTill
The final date that the certificate continues to be valid.
|
Constructor and Description |
---|
Certificate() |
Modifier and Type | Method and Description |
---|---|
Certificate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateIdentifier()
The unique key that identifies a certificate.
|
java.lang.String |
getCertificateType()
The type of the certificate.
|
java.lang.String |
getThumbprint()
The thumbprint of the certificate.
|
java.util.Date |
getValidFrom()
The starting date from which the certificate is valid.
|
java.util.Date |
getValidTill()
The final date that the certificate continues to be valid.
|
int |
hashCode() |
void |
setCertificateIdentifier(java.lang.String certificateIdentifier)
The unique key that identifies a certificate.
|
void |
setCertificateType(java.lang.String certificateType)
The type of the certificate.
|
void |
setThumbprint(java.lang.String thumbprint)
The thumbprint of the certificate.
|
void |
setValidFrom(java.util.Date validFrom)
The starting date from which the certificate is valid.
|
void |
setValidTill(java.util.Date validTill)
The final date that the certificate continues to be valid.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Certificate |
withCertificateIdentifier(java.lang.String certificateIdentifier)
The unique key that identifies a certificate.
|
Certificate |
withCertificateType(java.lang.String certificateType)
The type of the certificate.
|
Certificate |
withThumbprint(java.lang.String thumbprint)
The thumbprint of the certificate.
|
Certificate |
withValidFrom(java.util.Date validFrom)
The starting date from which the certificate is valid.
|
Certificate |
withValidTill(java.util.Date validTill)
The final date that the certificate continues to be valid.
|
private java.lang.String certificateIdentifier
The unique key that identifies a certificate.
private java.lang.String certificateType
The type of the certificate.
private java.lang.String thumbprint
The thumbprint of the certificate.
private java.util.Date validFrom
The starting date from which the certificate is valid.
private java.util.Date validTill
The final date that the certificate continues to be valid.
public void setCertificateIdentifier(java.lang.String certificateIdentifier)
The unique key that identifies a certificate.
certificateIdentifier
- The unique key that identifies a certificate.public java.lang.String getCertificateIdentifier()
The unique key that identifies a certificate.
public Certificate withCertificateIdentifier(java.lang.String certificateIdentifier)
The unique key that identifies a certificate.
certificateIdentifier
- The unique key that identifies a certificate.public void setCertificateType(java.lang.String certificateType)
The type of the certificate.
certificateType
- The type of the certificate.public java.lang.String getCertificateType()
The type of the certificate.
public Certificate withCertificateType(java.lang.String certificateType)
The type of the certificate.
certificateType
- The type of the certificate.public void setThumbprint(java.lang.String thumbprint)
The thumbprint of the certificate.
thumbprint
- The thumbprint of the certificate.public java.lang.String getThumbprint()
The thumbprint of the certificate.
public Certificate withThumbprint(java.lang.String thumbprint)
The thumbprint of the certificate.
thumbprint
- The thumbprint of the certificate.public void setValidFrom(java.util.Date validFrom)
The starting date from which the certificate is valid.
validFrom
- The starting date from which the certificate is valid.public java.util.Date getValidFrom()
The starting date from which the certificate is valid.
public Certificate withValidFrom(java.util.Date validFrom)
The starting date from which the certificate is valid.
validFrom
- The starting date from which the certificate is valid.public void setValidTill(java.util.Date validTill)
The final date that the certificate continues to be valid.
validTill
- The final date that the certificate continues to be valid.public java.util.Date getValidTill()
The final date that the certificate continues to be valid.
public Certificate withValidTill(java.util.Date validTill)
The final date that the certificate continues to be valid.
validTill
- The final date that the certificate continues to be valid.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 Certificate clone()
clone
in class java.lang.Object