Interface ChatRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ChatRequest.Builder,ChatRequest>,QBusinessRequest.Builder,SdkBuilder<ChatRequest.Builder,ChatRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ChatRequest
public static interface ChatRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<ChatRequest.Builder,ChatRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatRequest.BuilderapplicationId(String applicationId)The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.ChatRequest.BuilderclientToken(String clientToken)A token that you provide to identify the chat input.ChatRequest.BuilderconversationId(String conversationId)The identifier of the Amazon Q Business conversation.ChatRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ChatRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ChatRequest.BuilderparentMessageId(String parentMessageId)The identifier used to associate a user message with a AI generated response.ChatRequest.BuilderuserGroups(String... userGroups)The groups that a user associated with the chat input belongs to.ChatRequest.BuilderuserGroups(Collection<String> userGroups)The groups that a user associated with the chat input belongs to.ChatRequest.BuilderuserId(String userId)The identifier of the user attached to the chat input.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
overrideConfiguration
ChatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ChatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-