Interface BlockedPhrasesConfiguration.Builder

    • Method Detail

      • blockedPhrases

        BlockedPhrasesConfiguration.Builder blockedPhrases​(Collection<String> blockedPhrases)

        A list of phrases blocked from a Amazon Q Business web experience chat.

        Parameters:
        blockedPhrases - A list of phrases blocked from a Amazon Q Business web experience chat.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blockedPhrases

        BlockedPhrasesConfiguration.Builder blockedPhrases​(String... blockedPhrases)

        A list of phrases blocked from a Amazon Q Business web experience chat.

        Parameters:
        blockedPhrases - A list of phrases blocked from a Amazon Q Business web experience chat.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemMessageOverride

        BlockedPhrasesConfiguration.Builder systemMessageOverride​(String systemMessageOverride)

        The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.

        Parameters:
        systemMessageOverride - The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
        Returns:
        Returns a reference to this object so that method calls can be chained together.