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