Interface ListChannelsRequest.Builder

    • Method Detail

      • appInstanceArn

        ListChannelsRequest.Builder appInstanceArn​(String appInstanceArn)

        The ARN of the AppInstance.

        Parameters:
        appInstanceArn - The ARN of the AppInstance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privacy

        ListChannelsRequest.Builder privacy​(String privacy)

        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

        Parameters:
        privacy - The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelPrivacy, ChannelPrivacy
      • privacy

        ListChannelsRequest.Builder privacy​(ChannelPrivacy privacy)

        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

        Parameters:
        privacy - The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChannelPrivacy, ChannelPrivacy
      • maxResults

        ListChannelsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of channels that you want to return.

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

        ListChannelsRequest.Builder nextToken​(String nextToken)

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

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

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