Class ChannelMembership

    • Method Detail

      • invitedBy

        public final Identity invitedBy()

        The identifier of the member who invited another member.

        Returns:
        The identifier of the member who invited another member.
      • member

        public final Identity member()

        The data of the channel member.

        Returns:
        The data of the channel member.
      • channelArn

        public final String channelArn()

        The ARN of the member's channel.

        Returns:
        The ARN of the member's channel.
      • createdTimestamp

        public final Instant createdTimestamp()

        The time at which the channel membership was created.

        Returns:
        The time at which the channel membership was created.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The time at which a channel membership was last updated.

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

        public final String subChannelId()

        The ID of the SubChannel that a user belongs to.

        Returns:
        The ID of the SubChannel that a user belongs to.
      • 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)