Class UpdateCertificateRequest

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

public class UpdateCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for the UpdateCertificate operation.

See Also:
  • Constructor Details

    • UpdateCertificateRequest

      public UpdateCertificateRequest()
  • Method Details

    • 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 UpdateCertificateRequest 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.
    • setNewStatus

      public void setNewStatus(String newStatus)

      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Parameters:
      newStatus - The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      See Also:
    • getNewStatus

      public String getNewStatus()

      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Returns:
      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      See Also:
    • withNewStatus

      public UpdateCertificateRequest withNewStatus(String newStatus)

      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Parameters:
      newStatus - The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setNewStatus

      public void setNewStatus(CertificateStatus newStatus)

      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Parameters:
      newStatus - The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      See Also:
    • withNewStatus

      public UpdateCertificateRequest withNewStatus(CertificateStatus newStatus)

      The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Parameters:
      newStatus - The new status.

      Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 UpdateCertificateRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: