Interface ConfigurationEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationEvent.Builder,ConfigurationEvent>,SdkBuilder<ConfigurationEvent.Builder,ConfigurationEvent>,SdkPojo
- All Known Subinterfaces:
DefaultConfigurationEvent.Builder
- All Known Implementing Classes:
ConfigurationEvent.BuilderImpl
- Enclosing class:
- ConfigurationEvent
public static interface ConfigurationEvent.Builder extends SdkPojo, CopyableBuilder<ConfigurationEvent.Builder,ConfigurationEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConfigurationEvent.BuilderattributeFilter(Consumer<AttributeFilter.Builder> attributeFilter)Sets the value of the AttributeFilter property for this object.ConfigurationEvent.BuilderattributeFilter(AttributeFilter attributeFilter)Sets the value of the AttributeFilter property for this object.ConfigurationEvent.BuilderchatMode(String chatMode)The chat modes available to an Amazon Q Business end user.ConfigurationEvent.BuilderchatMode(ChatMode chatMode)The chat modes available to an Amazon Q Business end user.default ConfigurationEvent.BuilderchatModeConfiguration(Consumer<ChatModeConfiguration.Builder> chatModeConfiguration)Sets the value of the ChatModeConfiguration property for this object.ConfigurationEvent.BuilderchatModeConfiguration(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 Detail
-
chatMode
ConfigurationEvent.Builder chatMode(String 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,ChatMode
-
-
chatMode
ConfigurationEvent.Builder chatMode(ChatMode 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,ChatMode
-
-
chatModeConfiguration
ConfigurationEvent.Builder chatModeConfiguration(ChatModeConfiguration 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.Builderavoiding the need to create one manually viaChatModeConfiguration.builder().When the
Consumercompletes,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:
chatModeConfiguration(ChatModeConfiguration)
-
attributeFilter
ConfigurationEvent.Builder attributeFilter(AttributeFilter 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.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,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:
attributeFilter(AttributeFilter)
-
-