Interface ListChannelMessagesResponse.Builder

    • Method Detail

      • channelArn

        ListChannelMessagesResponse.Builder channelArn​(String channelArn)

        The ARN of the channel containing the requested messages.

        Parameters:
        channelArn - The ARN of the channel containing the requested messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListChannelMessagesResponse.Builder nextToken​(String nextToken)

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

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

        ListChannelMessagesResponse.Builder channelMessages​(Collection<ChannelMessageSummary> channelMessages)

        The information about, and content of, each requested message.

        Parameters:
        channelMessages - The information about, and content of, each requested message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelMessages

        ListChannelMessagesResponse.Builder channelMessages​(ChannelMessageSummary... channelMessages)

        The information about, and content of, each requested message.

        Parameters:
        channelMessages - The information about, and content of, each requested message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subChannelId

        ListChannelMessagesResponse.Builder subChannelId​(String subChannelId)

        The ID of the SubChannel in the response.

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