Interface ByteMatchSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ByteMatchSet.Builder,ByteMatchSet>,SdkBuilder<ByteMatchSet.Builder,ByteMatchSet>,SdkPojo
- Enclosing class:
- ByteMatchSet
public static interface ByteMatchSet.Builder extends SdkPojo, CopyableBuilder<ByteMatchSet.Builder,ByteMatchSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteMatchSet.BuilderbyteMatchSetId(String byteMatchSetId)TheByteMatchSetIdfor aByteMatchSet.ByteMatchSet.BuilderbyteMatchTuples(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.BuilderbyteMatchTuples(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.BuilderbyteMatchTuples(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.Buildername(String name)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 Detail
-
byteMatchSetId
ByteMatchSet.Builder byteMatchSetId(String byteMatchSetId)
The
ByteMatchSetIdfor aByteMatchSet. You useByteMatchSetIdto get information about aByteMatchSet(see GetByteMatchSet), update aByteMatchSet(see UpdateByteMatchSet), insert aByteMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aByteMatchSetfrom AWS WAF (see DeleteByteMatchSet).ByteMatchSetIdis returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId- TheByteMatchSetIdfor aByteMatchSet. You useByteMatchSetIdto get information about aByteMatchSet(see GetByteMatchSet), update aByteMatchSet(see UpdateByteMatchSet), insert aByteMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aByteMatchSetfrom AWS WAF (see DeleteByteMatchSet).ByteMatchSetIdis returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ByteMatchSet.Builder name(String name)
A friendly name or description of the ByteMatchSet. You can't change
Nameafter you create aByteMatchSet.- Parameters:
name- A friendly name or description of the ByteMatchSet. You can't changeNameafter you create aByteMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteMatchTuples
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.
- 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
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.
- 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
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 method that creates an instance of theByteMatchTuple.Builderavoiding the need to create one manually viaByteMatchTuple.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#byteMatchTuples(List.) - 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:
#byteMatchTuples(java.util.Collection)
-
-