Interface UpdateChatControlsConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateChatControlsConfigurationRequest.Builder,
,UpdateChatControlsConfigurationRequest> QBusinessRequest.Builder
,SdkBuilder<UpdateChatControlsConfigurationRequest.Builder,
,UpdateChatControlsConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateChatControlsConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The identifier of the application for which the chat controls are configured.blockedPhrasesConfigurationUpdate
(Consumer<BlockedPhrasesConfigurationUpdate.Builder> blockedPhrasesConfigurationUpdate) The phrases blocked from chat by your chat control configuration.blockedPhrasesConfigurationUpdate
(BlockedPhrasesConfigurationUpdate blockedPhrasesConfigurationUpdate) The phrases blocked from chat by your chat control configuration.clientToken
(String clientToken) A token that you provide to identify the request to update a Amazon Q Business application chat configuration.creatorModeConfiguration
(Consumer<CreatorModeConfiguration.Builder> creatorModeConfiguration) The configuration details forCREATOR_MODE
.creatorModeConfiguration
(CreatorModeConfiguration creatorModeConfiguration) The configuration details forCREATOR_MODE
.hallucinationReductionConfiguration
(Consumer<HallucinationReductionConfiguration.Builder> hallucinationReductionConfiguration) The hallucination reduction settings for your application.hallucinationReductionConfiguration
(HallucinationReductionConfiguration hallucinationReductionConfiguration) The hallucination reduction settings for your application.orchestrationConfiguration
(Consumer<OrchestrationConfiguration.Builder> orchestrationConfiguration) The chat response orchestration settings for your application.orchestrationConfiguration
(OrchestrationConfiguration orchestrationConfiguration) The chat response orchestration settings for your application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.responseScope
(String responseScope) The response scope configured for your application.responseScope
(ResponseScope responseScope) The response scope configured for your application.topicConfigurationsToCreateOrUpdate
(Collection<TopicConfiguration> topicConfigurationsToCreateOrUpdate) The configured topic specific chat controls you want to update.topicConfigurationsToCreateOrUpdate
(Consumer<TopicConfiguration.Builder>... topicConfigurationsToCreateOrUpdate) The configured topic specific chat controls you want to update.topicConfigurationsToCreateOrUpdate
(TopicConfiguration... topicConfigurationsToCreateOrUpdate) The configured topic specific chat controls you want to update.topicConfigurationsToDelete
(Collection<TopicConfiguration> topicConfigurationsToDelete) The configured topic specific chat controls you want to delete.topicConfigurationsToDelete
(Consumer<TopicConfiguration.Builder>... topicConfigurationsToDelete) The configured topic specific chat controls you want to delete.topicConfigurationsToDelete
(TopicConfiguration... topicConfigurationsToDelete) The configured topic specific chat controls you want to delete.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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:
-
orchestrationConfiguration
UpdateChatControlsConfigurationRequest.Builder orchestrationConfiguration(OrchestrationConfiguration orchestrationConfiguration) The chat response orchestration settings for your application.
- Parameters:
orchestrationConfiguration
- The chat response orchestration settings for your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orchestrationConfiguration
default UpdateChatControlsConfigurationRequest.Builder orchestrationConfiguration(Consumer<OrchestrationConfiguration.Builder> orchestrationConfiguration) The chat response orchestration settings for your application.
This is a convenience method that creates an instance of theOrchestrationConfiguration.Builder
avoiding the need to create one manually viaOrchestrationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorchestrationConfiguration(OrchestrationConfiguration)
.- Parameters:
orchestrationConfiguration
- a consumer that will call methods onOrchestrationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builder
avoiding the need to create one manually viaBlockedPhrasesConfigurationUpdate.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaTopicConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicConfigurationsToCreateOrUpdate(List<TopicConfiguration>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaTopicConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicConfigurationsToDelete(List<TopicConfiguration>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaCreatorModeConfiguration.builder()
.When the
Consumer
completes,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:
-
hallucinationReductionConfiguration
UpdateChatControlsConfigurationRequest.Builder hallucinationReductionConfiguration(HallucinationReductionConfiguration hallucinationReductionConfiguration) The hallucination reduction settings for your application.
- Parameters:
hallucinationReductionConfiguration
- The hallucination reduction settings for your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hallucinationReductionConfiguration
default UpdateChatControlsConfigurationRequest.Builder hallucinationReductionConfiguration(Consumer<HallucinationReductionConfiguration.Builder> hallucinationReductionConfiguration) The hallucination reduction settings for your application.
This is a convenience method that creates an instance of theHallucinationReductionConfiguration.Builder
avoiding the need to create one manually viaHallucinationReductionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohallucinationReductionConfiguration(HallucinationReductionConfiguration)
.- Parameters:
hallucinationReductionConfiguration
- a consumer that will call methods onHallucinationReductionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateChatControlsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateChatControlsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-