Class ConfigurationEvent

    • Method Detail

      • chatMode

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, chatMode will return ChatMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from chatModeAsString().

        Returns:
        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.

        See Also:
        ChatMode
      • chatModeAsString

        public final String chatModeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, chatMode will return ChatMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from chatModeAsString().

        Returns:
        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.

        See Also:
        ChatMode
      • chatModeConfiguration

        public final ChatModeConfiguration chatModeConfiguration()
        Returns the value of the ChatModeConfiguration property for this object.
        Returns:
        The value of the ChatModeConfiguration property for this object.
      • attributeFilter

        public final AttributeFilter attributeFilter()
        Returns the value of the AttributeFilter property for this object.
        Returns:
        The value of the AttributeFilter property for this object.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)