public static interface ByteMatchSet.Builder extends CopyableBuilder<ByteMatchSet.Builder,ByteMatchSet>
Modifier and Type | Method and Description |
---|---|
ByteMatchSet.Builder |
byteMatchSetId(String byteMatchSetId)
The
ByteMatchSetId for a ByteMatchSet . |
ByteMatchSet.Builder |
byteMatchTuples(ByteMatchTuple... byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to
search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
|
ByteMatchSet.Builder |
byteMatchTuples(Collection<ByteMatchTuple> byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to
search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
|
ByteMatchSet.Builder |
byteMatchTuples(Consumer<ByteMatchTuple.Builder>... byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to
search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
|
ByteMatchSet.Builder |
name(String name)
A friendly name or description of the ByteMatchSet.
|
copy
applyMutation, build
ByteMatchSet.Builder byteMatchSetId(String byteMatchSetId)
The ByteMatchSetId
for a ByteMatchSet
. You use ByteMatchSetId
to get
information about a ByteMatchSet
(see GetByteMatchSet), update a
ByteMatchSet
(see UpdateByteMatchSet), insert a ByteMatchSet
into a
Rule
or delete one from a Rule
(see UpdateRule), and delete a
ByteMatchSet
from AWS WAF (see DeleteByteMatchSet).
ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
byteMatchSetId
- The ByteMatchSetId
for a ByteMatchSet
. You use ByteMatchSetId
to get information about a ByteMatchSet
(see GetByteMatchSet), update a
ByteMatchSet
(see UpdateByteMatchSet), insert a ByteMatchSet
into a
Rule
or delete one from a Rule
(see UpdateRule), and delete a
ByteMatchSet
from AWS WAF (see DeleteByteMatchSet).
ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
ByteMatchSet.Builder name(String name)
A friendly name or description of the ByteMatchSet. You can't change Name
after you
create a ByteMatchSet
.
name
- A friendly name or description of the ByteMatchSet. You can't change Name
after
you create a ByteMatchSet
.ByteMatchSet.Builder byteMatchTuples(Collection<ByteMatchTuple> byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
byteMatchTuples
- Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF
to search for in web requests, the location in requests that you want AWS WAF to search, and other
settings.ByteMatchSet.Builder byteMatchTuples(ByteMatchTuple... byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
byteMatchTuples
- Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF
to search for in web requests, the location in requests that you want AWS WAF to search, and other
settings.ByteMatchSet.Builder byteMatchTuples(Consumer<ByteMatchTuple.Builder>... byteMatchTuples)
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
This is a convenience that creates an instance of theList.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 #byteMatchTuples(List)
.byteMatchTuples
- a consumer that will call methods on List.Builder
#byteMatchTuples(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.