Class CfnLoggingConfiguration.JsonBodyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.JsonBodyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration.JsonBodyProperty>
- Enclosing interface:
CfnLoggingConfiguration.JsonBodyProperty
@Stability(Stable)
public static final class CfnLoggingConfiguration.JsonBodyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfiguration.JsonBodyProperty>
A builder for
CfnLoggingConfiguration.JsonBodyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.invalidFallbackBehavior(String invalidFallbackBehavior) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getInvalidFallbackBehavior()matchPattern(IResolvable matchPattern) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchPattern()matchPattern(CfnLoggingConfiguration.MatchPatternProperty matchPattern) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchPattern()matchScope(String matchScope) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchPattern
@Stability(Stable) public CfnLoggingConfiguration.JsonBodyProperty.Builder matchPattern(IResolvable matchPattern) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchPattern()- Parameters:
matchPattern- the value to be set. This parameter is required.- Returns:
this
-
matchPattern
@Stability(Stable) public CfnLoggingConfiguration.JsonBodyProperty.Builder matchPattern(CfnLoggingConfiguration.MatchPatternProperty matchPattern) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchPattern()- Parameters:
matchPattern- the value to be set. This parameter is required.- Returns:
this
-
matchScope
@Stability(Stable) public CfnLoggingConfiguration.JsonBodyProperty.Builder matchScope(String matchScope) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getMatchScope()- Parameters:
matchScope- the value to be set. This parameter is required.- Returns:
this
-
invalidFallbackBehavior
@Stability(Stable) public CfnLoggingConfiguration.JsonBodyProperty.Builder invalidFallbackBehavior(String invalidFallbackBehavior) Sets the value ofCfnLoggingConfiguration.JsonBodyProperty.getInvalidFallbackBehavior()- Parameters:
invalidFallbackBehavior- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration.JsonBodyProperty>- Returns:
- a new instance of
CfnLoggingConfiguration.JsonBodyProperty - Throws:
NullPointerException- if any required attribute was not provided
-