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:
  • Constructor Details

    • Certificate

      public Certificate()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Certificate clone()
      Overrides:
      clone in class Object