Class CfnLoggingConfiguration.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration.ConditionProperty>
- Enclosing interface:
CfnLoggingConfiguration.ConditionProperty
@Stability(Stable)
public static final class CfnLoggingConfiguration.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfiguration.ConditionProperty>
A builder for
CfnLoggingConfiguration.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionCondition(IResolvable actionCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getActionCondition()actionCondition(CfnLoggingConfiguration.ActionConditionProperty actionCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getActionCondition()build()Builds the configured instance.labelNameCondition(IResolvable labelNameCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getLabelNameCondition()labelNameCondition(CfnLoggingConfiguration.LabelNameConditionProperty labelNameCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getLabelNameCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionCondition
@Stability(Stable) public CfnLoggingConfiguration.ConditionProperty.Builder actionCondition(IResolvable actionCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getActionCondition()- Parameters:
actionCondition- A single action condition. This is the action setting that a log record must contain in order to meet the condition.- Returns:
this
-
actionCondition
@Stability(Stable) public CfnLoggingConfiguration.ConditionProperty.Builder actionCondition(CfnLoggingConfiguration.ActionConditionProperty actionCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getActionCondition()- Parameters:
actionCondition- A single action condition. This is the action setting that a log record must contain in order to meet the condition.- Returns:
this
-
labelNameCondition
@Stability(Stable) public CfnLoggingConfiguration.ConditionProperty.Builder labelNameCondition(IResolvable labelNameCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getLabelNameCondition()- Parameters:
labelNameCondition- A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.- Returns:
this
-
labelNameCondition
@Stability(Stable) public CfnLoggingConfiguration.ConditionProperty.Builder labelNameCondition(CfnLoggingConfiguration.LabelNameConditionProperty labelNameCondition) Sets the value ofCfnLoggingConfiguration.ConditionProperty.getLabelNameCondition()- Parameters:
labelNameCondition- A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration.ConditionProperty>- Returns:
- a new instance of
CfnLoggingConfiguration.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-