Class RetainedMessageSummary

    • Method Detail

      • topic

        public final String topic()

        The topic name to which the retained message was published.

        Returns:
        The topic name to which the retained message was published.
      • payloadSize

        public final Long payloadSize()

        The size of the retained message's payload in bytes.

        Returns:
        The size of the retained message's payload in bytes.
      • qos

        public final Integer qos()

        The quality of service (QoS) level used to publish the retained message.

        Returns:
        The quality of service (QoS) level used to publish the retained message.
      • lastModifiedTime

        public final Long lastModifiedTime()

        The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

        Returns:
        The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)