Interface ListMessagesRequest.Builder

    • Method Detail

      • assistantId

        ListMessagesRequest.Builder assistantId​(String assistantId)

        The identifier of the Amazon Q in Connect assistant.

        Parameters:
        assistantId - The identifier of the Amazon Q in Connect assistant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListMessagesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per page.

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

        ListMessagesRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        Parameters:
        nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionId

        ListMessagesRequest.Builder sessionId​(String sessionId)

        The identifier of the Amazon Q in Connect session.

        Parameters:
        sessionId - The identifier of the Amazon Q in Connect session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.