Class CfnWebACLPropsMixin.JsonMatchPatternProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.JsonMatchPatternProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.JsonMatchPatternProperty>
- Enclosing interface:
CfnWebACLPropsMixin.JsonMatchPatternProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.JsonMatchPatternProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.JsonMatchPatternProperty>
A builder for
CfnWebACLPropsMixin.JsonMatchPatternProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebACLPropsMixin.JsonMatchPatternProperty.getAll()build()Builds the configured instance.includedPaths(List<String> includedPaths) Sets the value ofCfnWebACLPropsMixin.JsonMatchPatternProperty.getIncludedPaths()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
all
Sets the value ofCfnWebACLPropsMixin.JsonMatchPatternProperty.getAll()- Parameters:
all- Match all of the elements. See alsoMatchScopein theJsonBodyFieldToMatchspecification. You must specify either this setting or theIncludedPathssetting, but not both.- Returns:
this
-
includedPaths
@Stability(Stable) public CfnWebACLPropsMixin.JsonMatchPatternProperty.Builder includedPaths(List<String> includedPaths) Sets the value ofCfnWebACLPropsMixin.JsonMatchPatternProperty.getIncludedPaths()- Parameters:
includedPaths- Match only the specified include paths. See alsoMatchScopein theJsonBodyFieldToMatchspecification. 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
Allsetting, but not both.Don't use this option to include all paths. Instead, use the
Allsetting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.JsonMatchPatternProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.JsonMatchPatternProperty - Throws:
NullPointerException- if any required attribute was not provided
-