Interface RegexPatternSet.Builder

    • Method Detail

      • regexPatternSetId

        RegexPatternSet.Builder regexPatternSetId​(String regexPatternSetId)

        The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

        RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

        Parameters:
        regexPatternSetId - The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

        RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        RegexPatternSet.Builder name​(String name)

        A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

        Parameters:
        name - A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regexPatternStrings

        RegexPatternSet.Builder regexPatternStrings​(Collection<String> regexPatternStrings)

        Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

        Parameters:
        regexPatternStrings - Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regexPatternStrings

        RegexPatternSet.Builder regexPatternStrings​(String... regexPatternStrings)

        Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

        Parameters:
        regexPatternStrings - Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.
        Returns:
        Returns a reference to this object so that method calls can be chained together.