Class Certificate
- java.lang.Object
-
- com.amazonaws.services.rds.model.Certificate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Certificate extends Object implements Serializable, Cloneable
A CA certificate for an AWS account.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Certificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificateclone()booleanequals(Object obj)StringgetCertificateIdentifier()The unique key that identifies a certificate.StringgetCertificateType()The type of the certificate.StringgetThumbprint()The thumbprint of the certificate.DategetValidFrom()The starting date from which the certificate is valid.DategetValidTill()The final date that the certificate continues to be valid.inthashCode()voidsetCertificateIdentifier(String certificateIdentifier)The unique key that identifies a certificate.voidsetCertificateType(String certificateType)The type of the certificate.voidsetThumbprint(String thumbprint)The thumbprint of the certificate.voidsetValidFrom(Date validFrom)The starting date from which the certificate is valid.voidsetValidTill(Date validTill)The final date that the certificate continues to be valid.StringtoString()Returns a string representation of this object; useful for testing and debugging.CertificatewithCertificateIdentifier(String certificateIdentifier)The unique key that identifies a certificate.CertificatewithCertificateType(String certificateType)The type of the certificate.CertificatewithThumbprint(String thumbprint)The thumbprint of the certificate.CertificatewithValidFrom(Date validFrom)The starting date from which the certificate is valid.CertificatewithValidTill(Date validTill)The final date that the certificate continues to be valid.
-
-
-
Method Detail
-
setCertificateIdentifier
public void setCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
- Parameters:
certificateIdentifier- The unique key that identifies a certificate.
-
getCertificateIdentifier
public String getCertificateIdentifier()
The unique key that identifies a certificate.
- Returns:
- The unique key that identifies a certificate.
-
withCertificateIdentifier
public Certificate withCertificateIdentifier(String certificateIdentifier)
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
public void setCertificateType(String certificateType)
The type of the certificate.
- Parameters:
certificateType- The type of the certificate.
-
getCertificateType
public String getCertificateType()
The type of the certificate.
- Returns:
- The type of the certificate.
-
withCertificateType
public Certificate withCertificateType(String certificateType)
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
public void setThumbprint(String thumbprint)
The thumbprint of the certificate.
- Parameters:
thumbprint- The thumbprint of the certificate.
-
getThumbprint
public String getThumbprint()
The thumbprint of the certificate.
- Returns:
- The thumbprint of the certificate.
-
withThumbprint
public Certificate withThumbprint(String thumbprint)
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
public void setValidFrom(Date validFrom)
The starting date from which the certificate is valid.
- Parameters:
validFrom- The starting date from which the certificate is valid.
-
getValidFrom
public Date getValidFrom()
The starting date from which the certificate is valid.
- Returns:
- The starting date from which the certificate is valid.
-
withValidFrom
public Certificate withValidFrom(Date validFrom)
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
public void setValidTill(Date validTill)
The final date that the certificate continues to be valid.
- Parameters:
validTill- The final date that the certificate continues to be valid.
-
getValidTill
public Date getValidTill()
The final date that the certificate continues to be valid.
- Returns:
- The final date that the certificate continues to be valid.
-
withValidTill
public Certificate withValidTill(Date validTill)
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
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 Certificate clone()
-
-