Class Channel

    • Method Detail

      • name

        public final String name()

        The name of a channel.

        Returns:
        The name of a channel.
      • channelArn

        public final String channelArn()

        The ARN of a channel.

        Returns:
        The ARN of a channel.
      • metadata

        public final String metadata()

        The channel's metadata.

        Returns:
        The channel's metadata.
      • createdBy

        public final Identity createdBy()

        The AppInstanceUser who created the channel.

        Returns:
        The AppInstanceUser who created the channel.
      • createdTimestamp

        public final Instant createdTimestamp()

        The time at which the AppInstanceUser created the channel.

        Returns:
        The time at which the AppInstanceUser created the channel.
      • lastMessageTimestamp

        public final Instant lastMessageTimestamp()

        The time at which a member sent the last message in the channel.

        Returns:
        The time at which a member sent the last message in the channel.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The time at which a channel was last updated.

        Returns:
        The time at which a channel was last updated.
      • channelFlowArn

        public final String channelFlowArn()

        The ARN of the channel flow.

        Returns:
        The ARN of the channel flow.
      • elasticChannelConfiguration

        public final ElasticChannelConfiguration elasticChannelConfiguration()

        The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

        Returns:
        The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
      • expirationSettings

        public final ExpirationSettings expirationSettings()

        Settings that control when a channel expires.

        Returns:
        Settings that control when a channel expires.
      • serializableBuilderClass

        public static Class<? extends Channel.Builder> serializableBuilderClass()
      • 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)