Interface ChatRequest.Builder

    • Method Detail

      • applicationId

        ChatRequest.Builder applicationId​(String applicationId)

        The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.

        Parameters:
        applicationId - The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        ChatRequest.Builder userId​(String userId)

        The identifier of the user attached to the chat input.

        Parameters:
        userId - The identifier of the user attached to the chat input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userGroups

        ChatRequest.Builder userGroups​(Collection<String> userGroups)

        The groups that a user associated with the chat input belongs to.

        Parameters:
        userGroups - The groups that a user associated with the chat input belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userGroups

        ChatRequest.Builder userGroups​(String... userGroups)

        The groups that a user associated with the chat input belongs to.

        Parameters:
        userGroups - The groups that a user associated with the chat input belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conversationId

        ChatRequest.Builder conversationId​(String conversationId)

        The identifier of the Amazon Q Business conversation.

        Parameters:
        conversationId - The identifier of the Amazon Q Business conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentMessageId

        ChatRequest.Builder parentMessageId​(String parentMessageId)

        The identifier used to associate a user message with a AI generated response.

        Parameters:
        parentMessageId - The identifier used to associate a user message with a AI generated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        ChatRequest.Builder clientToken​(String clientToken)

        A token that you provide to identify the chat input.

        Parameters:
        clientToken - A token that you provide to identify the chat input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.