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.GetChatControlsConfigurationResponse.BuildernextToken(String nextToken)If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response.GetChatControlsConfigurationResponse.BuilderresponseScope(String responseScope)The response scope configured for a Amazon Q application.GetChatControlsConfigurationResponse.BuilderresponseScope(ResponseScope responseScope)The response scope configured for a Amazon Q application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(Collection<TopicConfiguration> topicConfigurations)The topic specific controls configured for a Amazon Q application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations)The topic specific controls configured for a Amazon Q application.GetChatControlsConfigurationResponse.BuildertopicConfigurations(TopicConfiguration... topicConfigurations)The topic specific controls configured for a Amazon Q 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
-
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)
-
nextToken
GetChatControlsConfigurationResponse.Builder nextToken(String nextToken)
If the
maxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.- Parameters:
nextToken- If themaxResultsresponse was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseScope
GetChatControlsConfigurationResponse.Builder responseScope(String responseScope)
The response scope configured for a Amazon Q 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 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 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 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
-
topicConfigurations
GetChatControlsConfigurationResponse.Builder topicConfigurations(Collection<TopicConfiguration> topicConfigurations)
The topic specific controls configured for a Amazon Q application.
- Parameters:
topicConfigurations- The topic specific controls configured for a Amazon Q 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 application.
- Parameters:
topicConfigurations- The topic specific controls configured for a Amazon Q 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 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)
-
-