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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegexMatchSet.Buildername(String name)A friendly name or description of the RegexMatchSet.RegexMatchSet.BuilderregexMatchSetId(String regexMatchSetId)TheRegexMatchSetIdfor aRegexMatchSet.RegexMatchSet.BuilderregexMatchTuples(Collection<RegexMatchTuple> regexMatchTuples)Contains an array of RegexMatchTuple objects.RegexMatchSet.BuilderregexMatchTuples(Consumer<RegexMatchTuple.Builder>... regexMatchTuples)Contains an array of RegexMatchTuple objects.RegexMatchSet.BuilderregexMatchTuples(RegexMatchTuple... regexMatchTuples)Contains an array of RegexMatchTuple objects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
regexMatchSetId
RegexMatchSet.Builder regexMatchSetId(String 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
RegexMatchSet.Builder name(String 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
RegexMatchSet.Builder regexMatchTuples(Collection<RegexMatchTuple> 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
RegexMatchSet.Builder regexMatchTuples(RegexMatchTuple... 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
RegexMatchSet.Builder regexMatchTuples(Consumer<RegexMatchTuple.Builder>... 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 to#regexMatchTuples(List.) - 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:
#regexMatchTuples(java.util.Collection)
-
-
-