@Stability(value=Stable) public static final class CfnRuleGroup.JsonMatchPatternProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.JsonMatchPatternProperty>
CfnRuleGroup.JsonMatchPatternProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup.JsonMatchPatternProperty.Builder |
all(Object all)
Sets the value of
CfnRuleGroup.JsonMatchPatternProperty.getAll() |
CfnRuleGroup.JsonMatchPatternProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.JsonMatchPatternProperty.Builder |
includedPaths(List<String> includedPaths)
Sets the value of
CfnRuleGroup.JsonMatchPatternProperty.getIncludedPaths() |
@Stability(value=Stable) public CfnRuleGroup.JsonMatchPatternProperty.Builder all(Object all)
CfnRuleGroup.JsonMatchPatternProperty.getAll()all - Match all of the elements. See also `MatchScope` in the `JsonBody` `FieldToMatch` specification.
You must specify either this setting or the IncludedPaths setting, but not both.this@Stability(value=Stable) public CfnRuleGroup.JsonMatchPatternProperty.Builder includedPaths(List<String> includedPaths)
CfnRuleGroup.JsonMatchPatternProperty.getIncludedPaths()includedPaths - Match only the specified include paths. See also `MatchScope` in the `JsonBody` `FieldToMatch` specification.
Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"] . For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer .
You must specify either this setting or the All setting, but not both.
Don't use this option to include all paths. Instead, use the
Allsetting.
this@Stability(value=Stable) public CfnRuleGroup.JsonMatchPatternProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.JsonMatchPatternProperty>CfnRuleGroup.JsonMatchPatternPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.