Class UpdateCertificateRequest

    • Constructor Detail

      • UpdateCertificateRequest

        public UpdateCertificateRequest()
    • Method Detail

      • 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:
        CertificateStatus
      • 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:
        CertificateStatus
      • 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:
        CertificateStatus
      • 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:
        CertificateStatus
      • 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:
        CertificateStatus
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object