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
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.clientToken(String clientToken) A token that you provide to identify the chat input.conversationId(String conversationId) The identifier of the Amazon Q Business conversation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentMessageId(String parentMessageId) The identifier used to associate a user message with a AI generated response.userGroups(String... userGroups) The group names that a user associated with the chat input belongs to.userGroups(Collection<String> userGroups) The group names that a user associated with the chat input belongs to.The identifier of the user attached to the chat input.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-