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