Interface RegexMatchSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegexMatchSet.Builder,,RegexMatchSet> SdkBuilder<RegexMatchSet.Builder,,RegexMatchSet> SdkPojo
- Enclosing class:
RegexMatchSet
-
Method Summary
Modifier and TypeMethodDescriptionA friendly name or description of the RegexMatchSet.regexMatchSetId(String regexMatchSetId) TheRegexMatchSetIdfor aRegexMatchSet.regexMatchTuples(Collection<RegexMatchTuple> regexMatchTuples) Contains an array of RegexMatchTuple objects.regexMatchTuples(Consumer<RegexMatchTuple.Builder>... regexMatchTuples) Contains an array of RegexMatchTuple objects.regexMatchTuples(RegexMatchTuple... regexMatchTuples) Contains an array of RegexMatchTuple objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
regexMatchSetId
The
RegexMatchSetIdfor aRegexMatchSet. You useRegexMatchSetIdto get information about aRegexMatchSet(see GetRegexMatchSet), update aRegexMatchSet(see UpdateRegexMatchSet), insert aRegexMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aRegexMatchSetfrom AWS WAF (see DeleteRegexMatchSet).RegexMatchSetIdis returned by CreateRegexMatchSet and by ListRegexMatchSets.- Parameters:
regexMatchSetId- TheRegexMatchSetIdfor aRegexMatchSet. You useRegexMatchSetIdto get information about aRegexMatchSet(see GetRegexMatchSet), update aRegexMatchSet(see UpdateRegexMatchSet), insert aRegexMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aRegexMatchSetfrom AWS WAF (see DeleteRegexMatchSet).RegexMatchSetIdis 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
Nameafter you create aRegexMatchSet.- Parameters:
name- A friendly name or description of the RegexMatchSet. You can't changeNameafter you create aRegexMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexMatchTuples
Contains an array of RegexMatchTuple objects. Each
RegexMatchTupleobject 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-Agentheader. -
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. EachRegexMatchTupleobject 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-Agentheader. -
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
Contains an array of RegexMatchTuple objects. Each
RegexMatchTupleobject 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-Agentheader. -
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. EachRegexMatchTupleobject 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-Agentheader. -
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
Contains an array of RegexMatchTuple objects. Each
RegexMatchTupleobject 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-Agentheader. -
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.
RegexMatchTuple.Builderavoiding the need to create one manually viaRegexMatchTuple.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregexMatchTuples(List<RegexMatchTuple>).- Parameters:
regexMatchTuples- a consumer that will call methods onRegexMatchTuple.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-