public static final class CfnLoggingConfiguration.MatchPatternProperty.Builder
extends java.lang.Object
CfnLoggingConfiguration.MatchPatternProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLoggingConfiguration.MatchPatternProperty.Builder |
all(java.lang.Object all)
Sets the value of
CfnLoggingConfiguration.MatchPatternProperty.getAll() |
CfnLoggingConfiguration.MatchPatternProperty |
build()
Builds the configured instance.
|
CfnLoggingConfiguration.MatchPatternProperty.Builder |
includedPaths(java.util.List<java.lang.String> includedPaths)
Sets the value of
CfnLoggingConfiguration.MatchPatternProperty.getIncludedPaths() |
public CfnLoggingConfiguration.MatchPatternProperty.Builder all(java.lang.Object all)
CfnLoggingConfiguration.MatchPatternProperty.getAll()
all
- Match all of the elements.
You must specify either this setting or the IncludedPaths
setting, but not both.this
public CfnLoggingConfiguration.MatchPatternProperty.Builder includedPaths(java.util.List<java.lang.String> includedPaths)
CfnLoggingConfiguration.MatchPatternProperty.getIncludedPaths()
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.
this
public CfnLoggingConfiguration.MatchPatternProperty build()
CfnLoggingConfiguration.MatchPatternProperty
java.lang.NullPointerException
- if any required attribute was not provided