Class CACertificate

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

public class CACertificate extends Object implements Serializable, Cloneable

A CA certificate.

See Also:
  • Constructor Details

    • CACertificate

      public CACertificate()
  • Method Details

    • setCertificateArn

      public void setCertificateArn(String certificateArn)

      The ARN of the CA certificate.

      Parameters:
      certificateArn - The ARN of the CA certificate.
    • getCertificateArn

      public String getCertificateArn()

      The ARN of the CA certificate.

      Returns:
      The ARN of the CA certificate.
    • withCertificateArn

      public CACertificate withCertificateArn(String certificateArn)

      The ARN of the CA certificate.

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

      public void setCertificateId(String certificateId)

      The ID of the CA certificate.

      Parameters:
      certificateId - The ID of the CA certificate.
    • getCertificateId

      public String getCertificateId()

      The ID of the CA certificate.

      Returns:
      The ID of the CA certificate.
    • withCertificateId

      public CACertificate withCertificateId(String certificateId)

      The ID of the CA certificate.

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

      public void setStatus(String status)

      The status of the CA certificate.

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

      public String getStatus()

      The status of the CA certificate.

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

      public CACertificate withStatus(String status)

      The status of the CA certificate.

      Parameters:
      status - The status of the 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 the CA certificate.

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

      public CACertificate withStatus(CACertificateStatus status)

      The status of the CA certificate.

      Parameters:
      status - The status of the CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 CACertificate 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 CACertificate clone()
      Overrides:
      clone in class Object