Interface ListMessagesRequest.Builder

    • Method Detail

      • applicationId

        ListMessagesRequest.Builder applicationId​(String applicationId)

        The identifier for the Amazon Q application.

        Parameters:
        applicationId - The identifier for the Amazon Q application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conversationId

        ListMessagesRequest.Builder conversationId​(String conversationId)

        The identifier of the Amazon Q web experience conversation.

        Parameters:
        conversationId - The identifier of the Amazon Q web experience conversation.
        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 messages to return.

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

        ListMessagesRequest.Builder nextToken​(String nextToken)

        If the number of retrievers returned exceeds maxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.

        Parameters:
        nextToken - If the number of retrievers returned exceeds maxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        ListMessagesRequest.Builder userId​(String userId)

        The identifier of the user involved in the Amazon Q web experience conversation.

        Parameters:
        userId - The identifier of the user involved in the Amazon Q web experience conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.