@Stability(value=Stable) public static final class CfnRegexPatternSetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRegexPatternSetProps>
CfnRegexPatternSetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRegexPatternSetProps |
build()
Builds the configured instance.
|
CfnRegexPatternSetProps.Builder |
description(String description)
Sets the value of
CfnRegexPatternSetProps.getDescription() |
CfnRegexPatternSetProps.Builder |
name(String name)
Sets the value of
CfnRegexPatternSetProps.getName() |
CfnRegexPatternSetProps.Builder |
regularExpressionList(List<String> regularExpressionList)
Sets the value of
CfnRegexPatternSetProps.getRegularExpressionList() |
CfnRegexPatternSetProps.Builder |
scope(String scope)
Sets the value of
CfnRegexPatternSetProps.getScope() |
CfnRegexPatternSetProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnRegexPatternSetProps.getTags() |
@Stability(value=Stable) public CfnRegexPatternSetProps.Builder regularExpressionList(List<String> regularExpressionList)
CfnRegexPatternSetProps.getRegularExpressionList()regularExpressionList - The regular expression patterns in the set. This parameter is required.this@Stability(value=Stable) public CfnRegexPatternSetProps.Builder scope(String scope)
CfnRegexPatternSetProps.getScope()scope - Specifies whether this is for an Amazon CloudFront distribution or for a regional application. This parameter is required.
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AWS AppSync GraphQL API. Valid Values are CLOUDFRONT and REGIONAL .
For
CLOUDFRONT, you must create your WAFv2 resources in the US East (N. Virginia) Region,us-east-1.
this@Stability(value=Stable) public CfnRegexPatternSetProps.Builder description(String description)
CfnRegexPatternSetProps.getDescription()description - A description of the set that helps with identification.this@Stability(value=Stable) public CfnRegexPatternSetProps.Builder name(String name)
CfnRegexPatternSetProps.getName()name - The name of the set.
You cannot change the name after you create the set.this@Stability(value=Stable) public CfnRegexPatternSetProps.Builder tags(List<? extends CfnTag> tags)
CfnRegexPatternSetProps.getTags()tags - Key:value pairs associated with an AWS resource.
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
this@Stability(value=Stable) public CfnRegexPatternSetProps build()
build in interface software.amazon.jsii.Builder<CfnRegexPatternSetProps>CfnRegexPatternSetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.