Interface KeywordMatchConfiguration.Builder

    • Method Detail

      • ruleName

        KeywordMatchConfiguration.Builder ruleName​(String ruleName)

        The name of the keyword match rule.

        Parameters:
        ruleName - The name of the keyword match rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keywords

        KeywordMatchConfiguration.Builder keywords​(Collection<String> keywords)

        The keywords or phrases that you want to match.

        Parameters:
        keywords - The keywords or phrases that you want to match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keywords

        KeywordMatchConfiguration.Builder keywords​(String... keywords)

        The keywords or phrases that you want to match.

        Parameters:
        keywords - The keywords or phrases that you want to match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • negate

        KeywordMatchConfiguration.Builder negate​(Boolean negate)

        Matches keywords or phrases on their presence or absence. If set to TRUE, the rule matches when all the specified keywords or phrases are absent. Default: FALSE.

        Parameters:
        negate - Matches keywords or phrases on their presence or absence. If set to TRUE, the rule matches when all the specified keywords or phrases are absent. Default: FALSE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.