Class CfnRegexPatternSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnRegexPatternSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegexPatternSet>
- Enclosing class:
CfnRegexPatternSet
@Stability(Stable)
public static final class CfnRegexPatternSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegexPatternSet>
A fluent builder for
CfnRegexPatternSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnRegexPatternSet.Builder
A friendly name or description of theRegexPatternSet
.regexPatternStrings
(List<String> regexPatternStrings) Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such asB[a@]dB[o0]t
.
-
Method Details
-
create
@Stability(Stable) public static CfnRegexPatternSet.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
CfnRegexPatternSet.Builder
.
-
name
A friendly name or description of theRegexPatternSet
.You can't change
Name
after you create aRegexPatternSet
.- Parameters:
name
- A friendly name or description of theRegexPatternSet
. This parameter is required.- Returns:
this
- See Also:
-
regexPatternStrings
@Stability(Stable) public CfnRegexPatternSet.Builder regexPatternStrings(List<String> regexPatternStrings) Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such asB[a@]dB[o0]t
.- Parameters:
regexPatternStrings
- Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such asB[a@]dB[o0]t
. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRegexPatternSet>
- Returns:
- a newly built instance of
CfnRegexPatternSet
.
-