Interface GetChatControlsConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetChatControlsConfigurationResponse.Builder,GetChatControlsConfigurationResponse>,QBusinessResponse.Builder,SdkBuilder<GetChatControlsConfigurationResponse.Builder,GetChatControlsConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetChatControlsConfigurationResponse
public static interface GetChatControlsConfigurationResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetChatControlsConfigurationResponse.Builder,GetChatControlsConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetChatControlsConfigurationResponse.BuilderblockedPhrases(Consumer<BlockedPhrasesConfiguration.Builder> blockedPhrases)The phrases blocked from chat by your chat control configuration.GetChatControlsConfigurationResponse.BuilderblockedPhrases(BlockedPhrasesConfiguration blockedPhrases)The phrases blocked from chat by your chat control configuration.default GetChatControlsConfigurationResponse.BuildercreatorModeConfiguration(Consumer<AppliedCreatorModeConfiguration.Builder> creatorModeConfiguration)The configuration details forCREATOR_MODE.GetChatControlsConfigurationResponse.BuildercreatorModeConfiguration(AppliedCreatorModeConfiguration creatorModeConfiguration)The configuration details forCREATOR_MODE.GetChatControlsConfigurationResponse.BuildernextToken(String nextToken)If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response.GetChatControlsConfigurationResponse.BuilderresponseScope(String responseScope)The response scope configured for a Amazon Q Business application.GetChatControlsConfigurationResponse.BuilderresponseScope(ResponseScope responseScope)The response scope configured for a Amazon Q Business application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(Collection<TopicConfiguration> topicConfigurations)The topic specific controls configured for a Amazon Q Business application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations)The topic specific controls configured for a Amazon Q Business application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
responseScope
GetChatControlsConfigurationResponse.Builder responseScope(String 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,ResponseScope
-
responseScope
GetChatControlsConfigurationResponse.Builder responseScope(ResponseScope 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,ResponseScope
-
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:
blockedPhrases(BlockedPhrasesConfiguration)
-
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 to#topicConfigurations(List.) - 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:
#topicConfigurations(java.util.Collection)
-
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:
creatorModeConfiguration(AppliedCreatorModeConfiguration)
-
nextToken
GetChatControlsConfigurationResponse.Builder nextToken(String 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.
-
-