public static final class CfnRegexPatternSet.Builder
extends java.lang.Object
CfnRegexPatternSet
.Modifier and Type | Method and Description |
---|---|
CfnRegexPatternSet |
build() |
static CfnRegexPatternSet.Builder |
create(Construct scope,
java.lang.String id) |
CfnRegexPatternSet.Builder |
name(java.lang.String name)
A friendly name or description of the `RegexPatternSet` .
|
CfnRegexPatternSet.Builder |
regexPatternStrings(java.util.List<java.lang.String> regexPatternStrings)
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t` .
|
public static CfnRegexPatternSet.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnRegexPatternSet.Builder
.public CfnRegexPatternSet.Builder name(java.lang.String name)
You can't change Name
after you create a RegexPatternSet
.
name
- A friendly name or description of the `RegexPatternSet` . This parameter is required.this
public CfnRegexPatternSet.Builder regexPatternStrings(java.util.List<java.lang.String> regexPatternStrings)
regexPatternStrings
- Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t` . This parameter is required.this
public CfnRegexPatternSet build()