Class ChannelSummary

    • Method Detail

      • channelName

        public final String channelName()

        The name of the channel.

        Returns:
        The name of the channel.
      • channelStorage

        public final ChannelStorageSummary channelStorage()

        Where channel data is stored.

        Returns:
        Where channel data is stored.
      • creationTime

        public final Instant creationTime()

        When the channel was created.

        Returns:
        When the channel was created.
      • lastUpdateTime

        public final Instant lastUpdateTime()

        The last time the channel was updated.

        Returns:
        The last time the channel was updated.
      • lastMessageArrivalTime

        public final Instant lastMessageArrivalTime()

        The last time when a new message arrived in the channel.

        IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime value is an approximation.

        This feature only applies to messages that arrived in the data store after October 23, 2020.

        Returns:
        The last time when a new message arrived in the channel.

        IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime value is an approximation.

        This feature only applies to messages that arrived in the data store after October 23, 2020.

      • 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)