Interface RegexMatchSet.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RegexMatchSet.Builder,RegexMatchSet>, SdkBuilder<RegexMatchSet.Builder,RegexMatchSet>, SdkPojo
Enclosing class:
RegexMatchSet

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

    • regexMatchSetId

      RegexMatchSet.Builder regexMatchSetId(String regexMatchSetId)

      The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet (see GetRegexMatchSet), update a RegexMatchSet (see UpdateRegexMatchSet), insert a RegexMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a RegexMatchSet from AWS WAF (see DeleteRegexMatchSet).

      RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

      Parameters:
      regexMatchSetId - The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet (see GetRegexMatchSet), update a RegexMatchSet (see UpdateRegexMatchSet), insert a RegexMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a RegexMatchSet from AWS WAF (see DeleteRegexMatchSet).

      RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

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

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

      RegexMatchSet.Builder regexMatchTuples(Collection<RegexMatchTuple> regexMatchTuples)

      Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

      • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.

      • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.

      • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

      Parameters:
      regexMatchTuples - Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

      • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.

      • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.

      • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

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

      RegexMatchSet.Builder regexMatchTuples(RegexMatchTuple... regexMatchTuples)

      Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

      • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.

      • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.

      • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

      Parameters:
      regexMatchTuples - Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

      • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.

      • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.

      • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

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

      RegexMatchSet.Builder regexMatchTuples(Consumer<RegexMatchTuple.Builder>... regexMatchTuples)

      Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

      • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.

      • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.

      • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

      This is a convenience method that creates an instance of the RegexMatchTuple.Builder avoiding the need to create one manually via RegexMatchTuple.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to regexMatchTuples(List<RegexMatchTuple>).

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