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.BuilderA 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
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnRegexPatternSet.Builder.
-
name
A friendly name or description of theRegexPatternSet.You can't change
Nameafter you create aRegexPatternSet.- Parameters:
name- A friendly name or description of theRegexPatternSet. This parameter is required.- Returns:
this
-
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
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegexPatternSet>- Returns:
- a newly built instance of
CfnRegexPatternSet.
-