Interface ChatRequest.Builder

  • Method Details

    • 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 group names that a user associated with the chat input belongs to.

      Parameters:
      userGroups - The group names 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 group names that a user associated with the chat input belongs to.

      Parameters:
      userGroups - The group names 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.
    • overrideConfiguration

      ChatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      ChatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.