Class CfnRegexPatternSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafregional.CfnRegexPatternSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegexPatternSetMixinProps>
- Enclosing interface:
CfnRegexPatternSetMixinProps
@Stability(Stable)
public static final class CfnRegexPatternSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegexPatternSetMixinProps>
A builder for
CfnRegexPatternSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRegexPatternSetMixinProps.getName()regexPatternStrings(List<String> regexPatternStrings) Sets the value ofCfnRegexPatternSetMixinProps.getRegexPatternStrings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnRegexPatternSetMixinProps.getName()- Parameters:
name- A friendly name or description of theRegexPatternSet. You can't changeNameafter you create aRegexPatternSet.- Returns:
this
-
regexPatternStrings
@Stability(Stable) public CfnRegexPatternSetMixinProps.Builder regexPatternStrings(List<String> regexPatternStrings) Sets the value ofCfnRegexPatternSetMixinProps.getRegexPatternStrings()- Parameters:
regexPatternStrings- Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such asB[a@]dB[o0]t.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegexPatternSetMixinProps>- Returns:
- a new instance of
CfnRegexPatternSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-