Class Certificate

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

public class Certificate extends Object implements Serializable, Cloneable

Information about a certificate.

See Also:
  • Constructor Details

    • Certificate

      public Certificate()
  • Method Details

    • setCertificateArn

      public void setCertificateArn(String certificateArn)

      The ARN of the certificate.

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

      public String getCertificateArn()

      The ARN of the certificate.

      Returns:
      The ARN of the certificate.
    • withCertificateArn

      public Certificate withCertificateArn(String certificateArn)

      The ARN of the certificate.

      Parameters:
      certificateArn - The ARN of the 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 certificate.

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

      public String getCertificateId()

      The ID of the certificate.

      Returns:
      The ID of the certificate.
    • withCertificateId

      public Certificate withCertificateId(String certificateId)

      The ID of the certificate.

      Parameters:
      certificateId - The ID of the 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 certificate.

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

      public String getStatus()

      The status of the certificate.

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

      public Certificate withStatus(String status)

      The status of the certificate.

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

      public void setStatus(CertificateStatus status)

      The status of the certificate.

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

      public Certificate withStatus(CertificateStatus status)

      The status of the certificate.

      Parameters:
      status - The status of the 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 and time the certificate was created.

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

      public Date getCreationDate()

      The date and time the certificate was created.

      Returns:
      The date and time the certificate was created.
    • withCreationDate

      public Certificate withCreationDate(Date creationDate)

      The date and time the certificate was created.

      Parameters:
      creationDate - The date and time the 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 Certificate clone()
      Overrides:
      clone in class Object