Interface UpdateChatControlsConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChatControlsConfigurationRequest.Builder,UpdateChatControlsConfigurationRequest>,QBusinessRequest.Builder,SdkBuilder<UpdateChatControlsConfigurationRequest.Builder,UpdateChatControlsConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateChatControlsConfigurationRequest
public static interface UpdateChatControlsConfigurationRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<UpdateChatControlsConfigurationRequest.Builder,UpdateChatControlsConfigurationRequest>
-
-
Method Summary
-
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
UpdateChatControlsConfigurationRequest.Builder applicationId(String applicationId)
The identifier of the application for which the chat controls are configured.
- Parameters:
applicationId- The identifier of the application for which the chat controls are configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
UpdateChatControlsConfigurationRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to update a Amazon Q Business application chat configuration.
- Parameters:
clientToken- A token that you provide to identify the request to update a Amazon Q Business application chat configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseScope
UpdateChatControlsConfigurationRequest.Builder responseScope(String responseScope)
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
- Parameters:
responseScope- The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResponseScope,ResponseScope
-
responseScope
UpdateChatControlsConfigurationRequest.Builder responseScope(ResponseScope responseScope)
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
- Parameters:
responseScope- The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResponseScope,ResponseScope
-
blockedPhrasesConfigurationUpdate
UpdateChatControlsConfigurationRequest.Builder blockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate blockedPhrasesConfigurationUpdate)
The phrases blocked from chat by your chat control configuration.
- Parameters:
blockedPhrasesConfigurationUpdate- The phrases blocked from chat by your chat control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockedPhrasesConfigurationUpdate
default UpdateChatControlsConfigurationRequest.Builder blockedPhrasesConfigurationUpdate(Consumer<BlockedPhrasesConfigurationUpdate.Builder> blockedPhrasesConfigurationUpdate)
The phrases blocked from chat by your chat control configuration.
This is a convenience method that creates an instance of theBlockedPhrasesConfigurationUpdate.Builderavoiding the need to create one manually viaBlockedPhrasesConfigurationUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate).- Parameters:
blockedPhrasesConfigurationUpdate- a consumer that will call methods onBlockedPhrasesConfigurationUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blockedPhrasesConfigurationUpdate(BlockedPhrasesConfigurationUpdate)
-
topicConfigurationsToCreateOrUpdate
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToCreateOrUpdate(Collection<TopicConfiguration> topicConfigurationsToCreateOrUpdate)
The configured topic specific chat controls you want to update.
- Parameters:
topicConfigurationsToCreateOrUpdate- The configured topic specific chat controls you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationsToCreateOrUpdate
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToCreateOrUpdate(TopicConfiguration... topicConfigurationsToCreateOrUpdate)
The configured topic specific chat controls you want to update.
- Parameters:
topicConfigurationsToCreateOrUpdate- The configured topic specific chat controls you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationsToCreateOrUpdate
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToCreateOrUpdate(Consumer<TopicConfiguration.Builder>... topicConfigurationsToCreateOrUpdate)
The configured topic specific chat controls you want to update.
This is a convenience method that creates an instance of theTopicConfiguration.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicConfigurationsToCreateOrUpdate(List.) - Parameters:
topicConfigurationsToCreateOrUpdate- a consumer that will call methods onTopicConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicConfigurationsToCreateOrUpdate(java.util.Collection)
-
topicConfigurationsToDelete
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToDelete(Collection<TopicConfiguration> topicConfigurationsToDelete)
The configured topic specific chat controls you want to delete.
- Parameters:
topicConfigurationsToDelete- The configured topic specific chat controls you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationsToDelete
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToDelete(TopicConfiguration... topicConfigurationsToDelete)
The configured topic specific chat controls you want to delete.
- Parameters:
topicConfigurationsToDelete- The configured topic specific chat controls you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurationsToDelete
UpdateChatControlsConfigurationRequest.Builder topicConfigurationsToDelete(Consumer<TopicConfiguration.Builder>... topicConfigurationsToDelete)
The configured topic specific chat controls you want to delete.
This is a convenience method that creates an instance of theTopicConfiguration.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicConfigurationsToDelete(List.) - Parameters:
topicConfigurationsToDelete- a consumer that will call methods onTopicConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicConfigurationsToDelete(java.util.Collection)
-
creatorModeConfiguration
UpdateChatControlsConfigurationRequest.Builder creatorModeConfiguration(CreatorModeConfiguration creatorModeConfiguration)
The configuration details for
CREATOR_MODE.- Parameters:
creatorModeConfiguration- The configuration details forCREATOR_MODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorModeConfiguration
default UpdateChatControlsConfigurationRequest.Builder creatorModeConfiguration(Consumer<CreatorModeConfiguration.Builder> creatorModeConfiguration)
The configuration details for
This is a convenience method that creates an instance of theCREATOR_MODE.CreatorModeConfiguration.Builderavoiding the need to create one manually viaCreatorModeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatorModeConfiguration(CreatorModeConfiguration).- Parameters:
creatorModeConfiguration- a consumer that will call methods onCreatorModeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
creatorModeConfiguration(CreatorModeConfiguration)
-
overrideConfiguration
UpdateChatControlsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateChatControlsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-