Class CfnLoggingConfiguration.ActionConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.ActionConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration.ActionConditionProperty>
- Enclosing interface:
- CfnLoggingConfiguration.ActionConditionProperty
@Stability(Stable)
public static final class CfnLoggingConfiguration.ActionConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfiguration.ActionConditionProperty>
A builder for
CfnLoggingConfiguration.ActionConditionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLoggingConfiguration.ActionConditionProperty.getAction()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnLoggingConfiguration.ActionConditionProperty.Builder action(String action) Sets the value ofCfnLoggingConfiguration.ActionConditionProperty.getAction()
- Parameters:
action
- The action setting that a log record must contain in order to meet the condition. This parameter is required. This is the action that AWS WAF applied to the web request.For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value
EXCLUDED_AS_COUNT
matches on excluded rules and also on rules that have a rule action override of Count.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration.ActionConditionProperty>
- Returns:
- a new instance of
CfnLoggingConfiguration.ActionConditionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-