Interface ListChannelMembershipsRequest.Builder

    • Method Detail

      • channelArn

        ListChannelMembershipsRequest.Builder channelArn​(String channelArn)

        The maximum number of channel memberships that you want returned.

        Parameters:
        channelArn - The maximum number of channel memberships that you want returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ListChannelMembershipsRequest.Builder type​(String type)

        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

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

        ListChannelMembershipsRequest.Builder type​(ChannelMembershipType type)

        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

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

        ListChannelMembershipsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of channel memberships that you want returned.

        Parameters:
        maxResults - The maximum number of channel memberships that you want returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListChannelMembershipsRequest.Builder nextToken​(String nextToken)

        The token passed by previous API calls until all requested channel memberships are returned.

        Parameters:
        nextToken - The token passed by previous API calls until all requested channel memberships are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • chimeBearer

        ListChannelMembershipsRequest.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

        ListChannelMembershipsRequest.Builder subChannelId​(String subChannelId)

        The ID of the SubChannel in the request.

        Only required when listing a user's memberships in a particular sub-channel of an elastic channel.

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

        Only required when listing a user's memberships in a particular sub-channel of an elastic channel.

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