Interface CreateChannelMembershipRequest.Builder

    • Method Detail

      • channelArn

        CreateChannelMembershipRequest.Builder channelArn​(String channelArn)

        The ARN of the channel to which you're adding users.

        Parameters:
        channelArn - The ARN of the channel to which you're adding users.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • memberArn

        CreateChannelMembershipRequest.Builder memberArn​(String memberArn)

        The AppInstanceUserArn of the member you want to add to the channel.

        Parameters:
        memberArn - The AppInstanceUserArn of the member you want to add to the channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        CreateChannelMembershipRequest.Builder type​(String type)

        The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

        Parameters:
        type - The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelMembershipType, ChannelMembershipType
      • type

        CreateChannelMembershipRequest.Builder type​(ChannelMembershipType type)

        The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

        Parameters:
        type - The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelMembershipType, ChannelMembershipType
      • chimeBearer

        CreateChannelMembershipRequest.Builder chimeBearer​(String chimeBearer)

        The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

        Parameters:
        chimeBearer - The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subChannelId

        CreateChannelMembershipRequest.Builder subChannelId​(String subChannelId)

        The ID of the SubChannel in the request.

        Only required when creating membership in a SubChannel for a moderator in an elastic channel.

        Parameters:
        subChannelId - The ID of the SubChannel in the request.

        Only required when creating membership in a SubChannel for a moderator in an elastic channel.

        Returns:
        Returns a reference to this object so that method calls can be chained together.