public static final class CfnRuleGroup.JsonMatchPatternProperty.Builder
extends java.lang.Object
CfnRuleGroup.JsonMatchPatternProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRuleGroup.JsonMatchPatternProperty.Builder |
all(java.lang.Object all)
Sets the value of
CfnRuleGroup.JsonMatchPatternProperty.getAll() |
CfnRuleGroup.JsonMatchPatternProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.JsonMatchPatternProperty.Builder |
includedPaths(java.util.List<java.lang.String> includedPaths)
Sets the value of
CfnRuleGroup.JsonMatchPatternProperty.getIncludedPaths() |
public CfnRuleGroup.JsonMatchPatternProperty.Builder all(java.lang.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
public CfnRuleGroup.JsonMatchPatternProperty.Builder includedPaths(java.util.List<java.lang.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
All
setting.
this
public CfnRuleGroup.JsonMatchPatternProperty build()
CfnRuleGroup.JsonMatchPatternProperty
java.lang.NullPointerException
- if any required attribute was not provided