Interface ByteMatchSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ByteMatchSet.Builder,
,ByteMatchSet> SdkBuilder<ByteMatchSet.Builder,
,ByteMatchSet> SdkPojo
- Enclosing class:
ByteMatchSet
-
Method Summary
Modifier and TypeMethodDescriptionbyteMatchSetId
(String byteMatchSetId) TheByteMatchSetId
for aByteMatchSet
.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
(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.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.A friendly name or description of the ByteMatchSet.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
-
byteMatchSetId
The
ByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
(see GetByteMatchSet), update aByteMatchSet
(see UpdateByteMatchSet), insert aByteMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aByteMatchSet
from AWS WAF (see DeleteByteMatchSet).ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId
- TheByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
(see GetByteMatchSet), update aByteMatchSet
(see UpdateByteMatchSet), insert aByteMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aByteMatchSet
from AWS WAF (see DeleteByteMatchSet).ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name or description of the ByteMatchSet. You can't change
Name
after you create aByteMatchSet
.- Parameters:
name
- A friendly name or description of the ByteMatchSet. You can't changeName
after you create aByteMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theByteMatchTuple.Builder
avoiding the need to create one manually viaByteMatchTuple.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobyteMatchTuples(List<ByteMatchTuple>)
.- Parameters:
byteMatchTuples
- a consumer that will call methods onByteMatchTuple.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-