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
@Stability(Stable) public static CfnByteMatchSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnByteMatchSet>
- Returns:
- a newly built instance of
CfnByteMatchSet
.
-