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 Certificate
clone()
boolean
equals(Object obj)
String
getCertificateIdentifier()
The unique key that identifies a certificate.String
getCertificateType()
The type of the certificate.String
getThumbprint()
The thumbprint of the certificate.Date
getValidFrom()
The starting date from which the certificate is valid.Date
getValidTill()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.Certificate
withCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.Certificate
withCertificateType(String certificateType)
The type of the certificate.Certificate
withThumbprint(String thumbprint)
The thumbprint of the certificate.Certificate
withValidFrom(Date validFrom)
The starting date from which the certificate is valid.Certificate
withValidTill(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Certificate clone()
-
-