Interface GetChatControlsConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetChatControlsConfigurationResponse.Builder,
,GetChatControlsConfigurationResponse> QBusinessResponse.Builder
,SdkBuilder<GetChatControlsConfigurationResponse.Builder,
,GetChatControlsConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetChatControlsConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionblockedPhrases
(Consumer<BlockedPhrasesConfiguration.Builder> blockedPhrases) The phrases blocked from chat by your chat control configuration.blockedPhrases
(BlockedPhrasesConfiguration blockedPhrases) The phrases blocked from chat by your chat control configuration.creatorModeConfiguration
(Consumer<AppliedCreatorModeConfiguration.Builder> creatorModeConfiguration) The configuration details forCREATOR_MODE
.creatorModeConfiguration
(AppliedCreatorModeConfiguration 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.If themaxResults
response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response.orchestrationConfiguration
(Consumer<AppliedOrchestrationConfiguration.Builder> orchestrationConfiguration) The chat response orchestration settings for your application.orchestrationConfiguration
(AppliedOrchestrationConfiguration orchestrationConfiguration) The chat response orchestration settings for your application.responseScope
(String responseScope) The response scope configured for a Amazon Q Business application.responseScope
(ResponseScope responseScope) The response scope configured for a Amazon Q Business application.topicConfigurations
(Collection<TopicConfiguration> topicConfigurations) The topic specific controls configured for a Amazon Q Business application.topicConfigurations
(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic specific controls configured for a Amazon Q Business application.topicConfigurations
(TopicConfiguration... topicConfigurations) The topic specific controls configured for a Amazon Q Business application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
responseScope
The response scope configured for a Amazon Q Business 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 a Amazon Q Business 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 a Amazon Q Business 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 a Amazon Q Business 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
GetChatControlsConfigurationResponse.Builder orchestrationConfiguration(AppliedOrchestrationConfiguration orchestrationConfiguration) The chat response orchestration settings for your application.
Chat orchestration is optimized to work for English language content. For more details on language support in Amazon Q Business, see Supported languages.
- Parameters:
orchestrationConfiguration
- The chat response orchestration settings for your application.Chat orchestration is optimized to work for English language content. For more details on language support in Amazon Q Business, see Supported languages.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orchestrationConfiguration
default GetChatControlsConfigurationResponse.Builder orchestrationConfiguration(Consumer<AppliedOrchestrationConfiguration.Builder> orchestrationConfiguration) The chat response orchestration settings for your application.
Chat orchestration is optimized to work for English language content. For more details on language support in Amazon Q Business, see Supported languages.
AppliedOrchestrationConfiguration.Builder
avoiding the need to create one manually viaAppliedOrchestrationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorchestrationConfiguration(AppliedOrchestrationConfiguration)
.- Parameters:
orchestrationConfiguration
- a consumer that will call methods onAppliedOrchestrationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockedPhrases
GetChatControlsConfigurationResponse.Builder blockedPhrases(BlockedPhrasesConfiguration blockedPhrases) The phrases blocked from chat by your chat control configuration.
- Parameters:
blockedPhrases
- 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.
-
blockedPhrases
default GetChatControlsConfigurationResponse.Builder blockedPhrases(Consumer<BlockedPhrasesConfiguration.Builder> blockedPhrases) The phrases blocked from chat by your chat control configuration.
This is a convenience method that creates an instance of theBlockedPhrasesConfiguration.Builder
avoiding the need to create one manually viaBlockedPhrasesConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblockedPhrases(BlockedPhrasesConfiguration)
.- Parameters:
blockedPhrases
- a consumer that will call methods onBlockedPhrasesConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topicConfigurations
GetChatControlsConfigurationResponse.Builder topicConfigurations(Collection<TopicConfiguration> topicConfigurations) The topic specific controls configured for a Amazon Q Business application.
- Parameters:
topicConfigurations
- The topic specific controls configured for a Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
GetChatControlsConfigurationResponse.Builder topicConfigurations(TopicConfiguration... topicConfigurations) The topic specific controls configured for a Amazon Q Business application.
- Parameters:
topicConfigurations
- The topic specific controls configured for a Amazon Q Business application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
GetChatControlsConfigurationResponse.Builder topicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic specific controls configured for a Amazon Q Business application.
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 totopicConfigurations(List<TopicConfiguration>)
.- Parameters:
topicConfigurations
- 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
GetChatControlsConfigurationResponse.Builder creatorModeConfiguration(AppliedCreatorModeConfiguration 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 GetChatControlsConfigurationResponse.Builder creatorModeConfiguration(Consumer<AppliedCreatorModeConfiguration.Builder> creatorModeConfiguration) The configuration details for
This is a convenience method that creates an instance of theCREATOR_MODE
.AppliedCreatorModeConfiguration.Builder
avoiding the need to create one manually viaAppliedCreatorModeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatorModeConfiguration(AppliedCreatorModeConfiguration)
.- Parameters:
creatorModeConfiguration
- a consumer that will call methods onAppliedCreatorModeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the
maxResults
response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business chat controls configured.- Parameters:
nextToken
- If themaxResults
response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business chat controls configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hallucinationReductionConfiguration
GetChatControlsConfigurationResponse.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 GetChatControlsConfigurationResponse.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:
-