Class CfnByteMatchSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnByteMatchSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnByteMatchSet>
- Enclosing class:
CfnByteMatchSet
@Stability(Stable)
public static final class CfnByteMatchSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnByteMatchSet>
A fluent builder for
CfnByteMatchSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
byteMatchTuples
(List<? extends Object> 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
(IResolvable 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.static CfnByteMatchSet.Builder
A friendly name or description of theByteMatchSet
.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnByteMatchSet.Builder
.
-
name
A friendly name or description of theByteMatchSet
.You can't change
Name
after you create aByteMatchSet
.- Parameters:
name
- A friendly name or description of theByteMatchSet
. This parameter is required.- Returns:
this
-
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. This parameter is required.- Returns:
this
-
byteMatchTuples
@Stability(Stable) public CfnByteMatchSet.Builder byteMatchTuples(List<? extends Object> 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. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnByteMatchSet>
- Returns:
- a newly built instance of
CfnByteMatchSet
.
-