Class CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfigurationPropsMixin.ConditionProperty>
- Enclosing interface:
CfnLoggingConfigurationPropsMixin.ConditionProperty
@Stability(Stable)
public static final class CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfigurationPropsMixin.ConditionProperty>
A builder for
CfnLoggingConfigurationPropsMixin.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionCondition(CfnLoggingConfigurationPropsMixin.ActionConditionProperty actionCondition) Sets the value ofCfnLoggingConfigurationPropsMixin.ConditionProperty.getActionCondition()actionCondition(IResolvable actionCondition) Sets the value ofCfnLoggingConfigurationPropsMixin.ConditionProperty.getActionCondition()build()Builds the configured instance.labelNameCondition(CfnLoggingConfigurationPropsMixin.LabelNameConditionProperty labelNameCondition) labelNameCondition(IResolvable labelNameCondition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionCondition
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder actionCondition(IResolvable actionCondition) Sets the value ofCfnLoggingConfigurationPropsMixin.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 CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder actionCondition(CfnLoggingConfigurationPropsMixin.ActionConditionProperty actionCondition) Sets the value ofCfnLoggingConfigurationPropsMixin.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 CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder labelNameCondition(IResolvable labelNameCondition) - 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 CfnLoggingConfigurationPropsMixin.ConditionProperty.Builder labelNameCondition(CfnLoggingConfigurationPropsMixin.LabelNameConditionProperty labelNameCondition) - 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<CfnLoggingConfigurationPropsMixin.ConditionProperty>- Returns:
- a new instance of
CfnLoggingConfigurationPropsMixin.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-