Interface ConfigurationEvent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConfigurationEvent.Builder,ConfigurationEvent>, SdkBuilder<ConfigurationEvent.Builder,ConfigurationEvent>, SdkPojo
All Known Subinterfaces:
DefaultConfigurationEvent.Builder
Enclosing class:
ConfigurationEvent

public static interface ConfigurationEvent.Builder extends SdkPojo, CopyableBuilder<ConfigurationEvent.Builder,ConfigurationEvent>
  • Method Details

    • 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

      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

      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 the ChatModeConfiguration.Builder avoiding the need to create one manually via ChatModeConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to chatModeConfiguration(ChatModeConfiguration).

      Parameters:
      chatModeConfiguration - a consumer that will call methods on ChatModeConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the AttributeFilter.Builder avoiding the need to create one manually via AttributeFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attributeFilter(AttributeFilter).

      Parameters:
      attributeFilter - a consumer that will call methods on AttributeFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: