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) TheRegexMatchSetId
for 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
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 Details
-
regexMatchSetId
The
RegexMatchSetId
for aRegexMatchSet
. You useRegexMatchSetId
to get information about aRegexMatchSet
(see GetRegexMatchSet), update aRegexMatchSet
(see UpdateRegexMatchSet), insert aRegexMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aRegexMatchSet
from AWS WAF (see DeleteRegexMatchSet).RegexMatchSetId
is returned by CreateRegexMatchSet and by ListRegexMatchSets.- Parameters:
regexMatchSetId
- TheRegexMatchSetId
for aRegexMatchSet
. You useRegexMatchSetId
to get information about aRegexMatchSet
(see GetRegexMatchSet), update aRegexMatchSet
(see UpdateRegexMatchSet), insert aRegexMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aRegexMatchSet
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 aRegexMatchSet
.- Parameters:
name
- A friendly name or description of the RegexMatchSet. You can't changeName
after 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
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. EachRegexMatchTuple
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
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. EachRegexMatchTuple
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
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.
RegexMatchTuple.Builder
avoiding the need to create one manually viaRegexMatchTuple.builder()
.When the
Consumer
completes,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:
-
-