Interface ChannelMembership.Builder

    • Method Detail

      • invitedBy

        ChannelMembership.Builder invitedBy​(Identity invitedBy)

        The identifier of the member who invited another member.

        Parameters:
        invitedBy - The identifier of the member who invited another member.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • member

        ChannelMembership.Builder member​(Identity member)

        The data of the channel member.

        Parameters:
        member - The data of the channel member.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelArn

        ChannelMembership.Builder channelArn​(String channelArn)

        The ARN of the member's channel.

        Parameters:
        channelArn - The ARN of the member's channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        ChannelMembership.Builder createdTimestamp​(Instant createdTimestamp)

        The time at which the channel membership was created.

        Parameters:
        createdTimestamp - The time at which the channel membership was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTimestamp

        ChannelMembership.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The time at which a channel membership was last updated.

        Parameters:
        lastUpdatedTimestamp - The time at which a channel membership was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subChannelId

        ChannelMembership.Builder subChannelId​(String subChannelId)

        The ID of the SubChannel that a user belongs to.

        Parameters:
        subChannelId - The ID of the SubChannel that a user belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.