public static interface RegexMatchSet.Builder extends CopyableBuilder<RegexMatchSet.Builder,RegexMatchSet>
Modifier and Type | Method and Description |
---|---|
RegexMatchSet.Builder |
name(String name)
A friendly name or description of the RegexMatchSet.
|
RegexMatchSet.Builder |
regexMatchSetId(String regexMatchSetId)
The
RegexMatchSetId for a RegexMatchSet . |
RegexMatchSet.Builder |
regexMatchTuples(Collection<RegexMatchTuple> regexMatchTuples)
Contains an array of RegexMatchTuple objects.
|
RegexMatchSet.Builder |
regexMatchTuples(Consumer<RegexMatchTuple.Builder>... regexMatchTuples)
Contains an array of RegexMatchTuple objects.
|
RegexMatchSet.Builder |
regexMatchTuples(RegexMatchTuple... regexMatchTuples)
Contains an array of RegexMatchTuple objects.
|
copy
applyMutation, build
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.
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.
RegexMatchSet.Builder name(String name)
A friendly name or description of the RegexMatchSet. You can't change Name
after you
create a RegexMatchSet
.
name
- A friendly name or description of the RegexMatchSet. You can't change Name
after
you create a RegexMatchSet
.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.
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.
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.
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.
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.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #regexMatchTuples(List)
.regexMatchTuples
- a consumer that will call methods on List.Builder
#regexMatchTuples(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.