Class ConfigurationEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.ConfigurationEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,ConfigurationEvent.Builder,Buildable,CopyableBuilder<ConfigurationEvent.Builder,ConfigurationEvent>,SdkBuilder<ConfigurationEvent.Builder,ConfigurationEvent>
- Enclosing class:
- ConfigurationEvent
protected static class ConfigurationEvent.BuilderImpl extends Object implements ConfigurationEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(ConfigurationEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationEvent.BuilderattributeFilter(AttributeFilter attributeFilter)Sets the value of the AttributeFilter property for this object.ConfigurationEventbuild()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.ConfigurationEvent.BuilderchatModeConfiguration(ChatModeConfiguration chatModeConfiguration)Sets the value of the ChatModeConfiguration property for this object.AttributeFilter.BuildergetAttributeFilter()StringgetChatMode()ChatModeConfiguration.BuildergetChatModeConfiguration()List<SdkField<?>>sdkFields()voidsetAttributeFilter(software.amazon.awssdk.services.qbusiness.model.AttributeFilter.BuilderImpl attributeFilter)voidsetChatMode(String chatMode)voidsetChatModeConfiguration(software.amazon.awssdk.services.qbusiness.model.ChatModeConfiguration.BuilderImpl chatModeConfiguration)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.ConfigurationEvent.Builder
attributeFilter, chatModeConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(ConfigurationEvent model)
-
-
Method Detail
-
getChatMode
public final String getChatMode()
-
setChatMode
public final void setChatMode(String chatMode)
-
chatMode
public final ConfigurationEvent.Builder chatMode(String chatMode)
Description copied from interface:ConfigurationEvent.BuilderThe 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.
- Specified by:
chatModein interfaceConfigurationEvent.Builder- 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
public final ConfigurationEvent.Builder chatMode(ChatMode chatMode)
Description copied from interface:ConfigurationEvent.BuilderThe 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.
- Specified by:
chatModein interfaceConfigurationEvent.Builder- 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
-
-
getChatModeConfiguration
public final ChatModeConfiguration.Builder getChatModeConfiguration()
-
setChatModeConfiguration
public final void setChatModeConfiguration(software.amazon.awssdk.services.qbusiness.model.ChatModeConfiguration.BuilderImpl chatModeConfiguration)
-
chatModeConfiguration
public final ConfigurationEvent.Builder chatModeConfiguration(ChatModeConfiguration chatModeConfiguration)
Description copied from interface:ConfigurationEvent.BuilderSets the value of the ChatModeConfiguration property for this object.- Specified by:
chatModeConfigurationin interfaceConfigurationEvent.Builder- 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.
-
getAttributeFilter
public final AttributeFilter.Builder getAttributeFilter()
-
setAttributeFilter
public final void setAttributeFilter(software.amazon.awssdk.services.qbusiness.model.AttributeFilter.BuilderImpl attributeFilter)
-
attributeFilter
public final ConfigurationEvent.Builder attributeFilter(AttributeFilter attributeFilter)
Description copied from interface:ConfigurationEvent.BuilderSets the value of the AttributeFilter property for this object.- Specified by:
attributeFilterin interfaceConfigurationEvent.Builder- 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.
-
build
public ConfigurationEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ConfigurationEvent.Builder,ConfigurationEvent>
-
-