public static final class CfnLoggingConfiguration.ActionConditionProperty.Builder
extends java.lang.Object
CfnLoggingConfiguration.ActionConditionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLoggingConfiguration.ActionConditionProperty.Builder |
action(java.lang.String action)
Sets the value of
CfnLoggingConfiguration.ActionConditionProperty.getAction() |
CfnLoggingConfiguration.ActionConditionProperty |
build()
Builds the configured instance.
|
public CfnLoggingConfiguration.ActionConditionProperty.Builder action(java.lang.String action)
CfnLoggingConfiguration.ActionConditionProperty.getAction()
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.
this
public CfnLoggingConfiguration.ActionConditionProperty build()
CfnLoggingConfiguration.ActionConditionProperty
java.lang.NullPointerException
- if any required attribute was not provided