Class UpdateCertificateRequest

    • Method Detail

      • certificateId

        public final String certificateId()

        The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

        Returns:
        The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
      • newStatus

        public final CertificateStatus newStatus()

        The new status.

        Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.

        Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

        If the service returns an enum value that is not available in the current SDK version, newStatus will return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from newStatusAsString().

        Returns:
        The new status.

        Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.

        Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

        See Also:
        CertificateStatus
      • newStatusAsString

        public final String newStatusAsString()

        The new status.

        Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.

        Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

        If the service returns an enum value that is not available in the current SDK version, newStatus will return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from newStatusAsString().

        Returns:
        The new status.

        Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.

        Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

        See Also:
        CertificateStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object