Class CACertificateDescription

java.lang.Object
com.amazonaws.services.iot.model.CACertificateDescription
All Implemented Interfaces:
Serializable, Cloneable

public class CACertificateDescription extends Object implements Serializable, Cloneable

Describes a CA certificate.

See Also:
  • Constructor Details

    • CACertificateDescription

      public CACertificateDescription()
  • Method Details

    • setCertificateArn

      public void setCertificateArn(String certificateArn)

      The CA certificate ARN.

      Parameters:
      certificateArn - The CA certificate ARN.
    • getCertificateArn

      public String getCertificateArn()

      The CA certificate ARN.

      Returns:
      The CA certificate ARN.
    • withCertificateArn

      public CACertificateDescription withCertificateArn(String certificateArn)

      The CA certificate ARN.

      Parameters:
      certificateArn - The CA certificate ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCertificateId

      public void setCertificateId(String certificateId)

      The CA certificate ID.

      Parameters:
      certificateId - The CA certificate ID.
    • getCertificateId

      public String getCertificateId()

      The CA certificate ID.

      Returns:
      The CA certificate ID.
    • withCertificateId

      public CACertificateDescription withCertificateId(String certificateId)

      The CA certificate ID.

      Parameters:
      certificateId - The CA certificate ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      See Also:
    • getStatus

      public String getStatus()

      The status of a CA certificate.

      Returns:
      The status of a CA certificate.
      See Also:
    • withStatus

      public CACertificateDescription withStatus(String status)

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(CACertificateStatus status)

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      See Also:
    • withStatus

      public CACertificateDescription withStatus(CACertificateStatus status)

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setCertificatePem

      public void setCertificatePem(String certificatePem)

      The CA certificate data, in PEM format.

      Parameters:
      certificatePem - The CA certificate data, in PEM format.
    • getCertificatePem

      public String getCertificatePem()

      The CA certificate data, in PEM format.

      Returns:
      The CA certificate data, in PEM format.
    • withCertificatePem

      public CACertificateDescription withCertificatePem(String certificatePem)

      The CA certificate data, in PEM format.

      Parameters:
      certificatePem - The CA certificate data, in PEM format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setOwnedBy

      public void setOwnedBy(String ownedBy)

      The owner of the CA certificate.

      Parameters:
      ownedBy - The owner of the CA certificate.
    • getOwnedBy

      public String getOwnedBy()

      The owner of the CA certificate.

      Returns:
      The owner of the CA certificate.
    • withOwnedBy

      public CACertificateDescription withOwnedBy(String ownedBy)

      The owner of the CA certificate.

      Parameters:
      ownedBy - The owner of the CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreationDate

      public void setCreationDate(Date creationDate)

      The date the CA certificate was created.

      Parameters:
      creationDate - The date the CA certificate was created.
    • getCreationDate

      public Date getCreationDate()

      The date the CA certificate was created.

      Returns:
      The date the CA certificate was created.
    • withCreationDate

      public CACertificateDescription withCreationDate(Date creationDate)

      The date the CA certificate was created.

      Parameters:
      creationDate - The date the CA certificate was created.
      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 CACertificateDescription clone()
      Overrides:
      clone in class Object