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.If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response.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
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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:
-
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.Builderavoiding the need to create one manually viaBlockedPhrasesConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAppliedCreatorModeConfiguration.builder().When the
Consumercompletes,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
maxResultsresponse 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 themaxResultsresponse 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.
-