Interface ConfigurationEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurationEvent.Builder,
,ConfigurationEvent> SdkBuilder<ConfigurationEvent.Builder,
,ConfigurationEvent> SdkPojo
- All Known Subinterfaces:
DefaultConfigurationEvent.Builder
- Enclosing class:
ConfigurationEvent
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConfigurationEvent.Builder
attributeFilter
(Consumer<AttributeFilter.Builder> attributeFilter) Sets the value of the AttributeFilter property for this object.attributeFilter
(AttributeFilter attributeFilter) Sets the value of the AttributeFilter property for this object.The chat modes available to an Amazon Q Business end user.The chat modes available to an Amazon Q Business end user.default ConfigurationEvent.Builder
chatModeConfiguration
(Consumer<ChatModeConfiguration.Builder> chatModeConfiguration) Sets the value of the ChatModeConfiguration property for this object.chatModeConfiguration
(ChatModeConfiguration chatModeConfiguration) Sets the value of the ChatModeConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
chatMode
The chat modes available to an Amazon Q Business end user.
-
RETRIEVAL_MODE
- The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application. -
CREATOR_MODE
- By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request. -
PLUGIN_MODE
- By selecting this mode, users can choose to use plugins in chat.
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
- Parameters:
chatMode
- The chat modes available to an Amazon Q Business end user.-
RETRIEVAL_MODE
- The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application. -
CREATOR_MODE
- By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request. -
PLUGIN_MODE
- By selecting this mode, users can choose to use plugins in chat.
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
chatMode
The chat modes available to an Amazon Q Business end user.
-
RETRIEVAL_MODE
- The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application. -
CREATOR_MODE
- By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request. -
PLUGIN_MODE
- By selecting this mode, users can choose to use plugins in chat.
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
- Parameters:
chatMode
- The chat modes available to an Amazon Q Business end user.-
RETRIEVAL_MODE
- The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application. -
CREATOR_MODE
- By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request. -
PLUGIN_MODE
- By selecting this mode, users can choose to use plugins in chat.
For more information, see Admin controls and guardrails, Plugins, and Conversation settings.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
chatModeConfiguration
Sets the value of the ChatModeConfiguration property for this object.- Parameters:
chatModeConfiguration
- The new value for the ChatModeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatModeConfiguration
default ConfigurationEvent.Builder chatModeConfiguration(Consumer<ChatModeConfiguration.Builder> chatModeConfiguration) Sets the value of the ChatModeConfiguration property for this object. This is a convenience method that creates an instance of theChatModeConfiguration.Builder
avoiding the need to create one manually viaChatModeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochatModeConfiguration(ChatModeConfiguration)
.- Parameters:
chatModeConfiguration
- a consumer that will call methods onChatModeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeFilter
Sets the value of the AttributeFilter property for this object.- Parameters:
attributeFilter
- The new value for the AttributeFilter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilter
default ConfigurationEvent.Builder attributeFilter(Consumer<AttributeFilter.Builder> attributeFilter) Sets the value of the AttributeFilter property for this object. This is a convenience method that creates an instance of theAttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeFilter(AttributeFilter)
.- Parameters:
attributeFilter
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-