Class CertificateDescription

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

public class CertificateDescription extends Object implements Serializable, Cloneable

Describes a certificate.

See Also:
  • Constructor Details

    • CertificateDescription

      public CertificateDescription()
  • 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 CertificateDescription 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 CertificateDescription 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.
    • setCaCertificateId

      public void setCaCertificateId(String caCertificateId)

      The certificate ID of the CA certificate used to sign this certificate.

      Parameters:
      caCertificateId - The certificate ID of the CA certificate used to sign this certificate.
    • getCaCertificateId

      public String getCaCertificateId()

      The certificate ID of the CA certificate used to sign this certificate.

      Returns:
      The certificate ID of the CA certificate used to sign this certificate.
    • withCaCertificateId

      public CertificateDescription withCaCertificateId(String caCertificateId)

      The certificate ID of the CA certificate used to sign this certificate.

      Parameters:
      caCertificateId - The certificate ID of the CA certificate used to sign this 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 CertificateDescription 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 CertificateDescription 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:
    • setCertificatePem

      public void setCertificatePem(String certificatePem)

      The certificate data, in PEM format.

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

      public String getCertificatePem()

      The certificate data, in PEM format.

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

      public CertificateDescription withCertificatePem(String certificatePem)

      The certificate data, in PEM format.

      Parameters:
      certificatePem - The 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 ID of the AWS account that owns the certificate.

      Parameters:
      ownedBy - The ID of the AWS account that owns the certificate.
    • getOwnedBy

      public String getOwnedBy()

      The ID of the AWS account that owns the certificate.

      Returns:
      The ID of the AWS account that owns the certificate.
    • withOwnedBy

      public CertificateDescription withOwnedBy(String ownedBy)

      The ID of the AWS account that owns the certificate.

      Parameters:
      ownedBy - The ID of the AWS account that owns the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPreviousOwnedBy

      public void setPreviousOwnedBy(String previousOwnedBy)

      The ID of the AWS account of the previous owner of the certificate.

      Parameters:
      previousOwnedBy - The ID of the AWS account of the previous owner of the certificate.
    • getPreviousOwnedBy

      public String getPreviousOwnedBy()

      The ID of the AWS account of the previous owner of the certificate.

      Returns:
      The ID of the AWS account of the previous owner of the certificate.
    • withPreviousOwnedBy

      public CertificateDescription withPreviousOwnedBy(String previousOwnedBy)

      The ID of the AWS account of the previous owner of the certificate.

      Parameters:
      previousOwnedBy - The ID of the AWS account of the previous owner of the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 CertificateDescription 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.
    • setLastModifiedDate

      public void setLastModifiedDate(Date lastModifiedDate)

      The date and time the certificate was last modified.

      Parameters:
      lastModifiedDate - The date and time the certificate was last modified.
    • getLastModifiedDate

      public Date getLastModifiedDate()

      The date and time the certificate was last modified.

      Returns:
      The date and time the certificate was last modified.
    • withLastModifiedDate

      public CertificateDescription withLastModifiedDate(Date lastModifiedDate)

      The date and time the certificate was last modified.

      Parameters:
      lastModifiedDate - The date and time the certificate was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTransferData

      public void setTransferData(TransferData transferData)

      The transfer data.

      Parameters:
      transferData - The transfer data.
    • getTransferData

      public TransferData getTransferData()

      The transfer data.

      Returns:
      The transfer data.
    • withTransferData

      public CertificateDescription withTransferData(TransferData transferData)

      The transfer data.

      Parameters:
      transferData - The transfer data.
      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 CertificateDescription clone()
      Overrides:
      clone in class Object