@Stability(value=Stable) public static final class CfnWebACL.LabelMatchStatementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.LabelMatchStatementProperty>
CfnWebACL.LabelMatchStatementProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.LabelMatchStatementProperty |
build()
Builds the configured instance.
|
CfnWebACL.LabelMatchStatementProperty.Builder |
key(String key)
Sets the value of
CfnWebACL.LabelMatchStatementProperty.getKey() |
CfnWebACL.LabelMatchStatementProperty.Builder |
scope(String scope)
Sets the value of
CfnWebACL.LabelMatchStatementProperty.getScope() |
@Stability(value=Stable) public CfnWebACL.LabelMatchStatementProperty.Builder key(String key)
CfnWebACL.LabelMatchStatementProperty.getKey()key - The string to match against. The setting you provide for this depends on the match statement's `Scope` setting:. This parameter is required.
Scope indicates LABEL , then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name.Scope indicates NAMESPACE , then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.
Labels are case sensitive and components of a label must be separated by colon, for example NS1:NS2:name .
this@Stability(value=Stable) public CfnWebACL.LabelMatchStatementProperty.Builder scope(String scope)
CfnWebACL.LabelMatchStatementProperty.getScope()scope - Specify whether you want to match using the label name or just the namespace. This parameter is required.this@Stability(value=Stable) public CfnWebACL.LabelMatchStatementProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.LabelMatchStatementProperty>CfnWebACL.LabelMatchStatementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.