Class CfnTelemetryRulePropsMixin.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnTelemetryRulePropsMixin.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ConditionProperty>
- Enclosing interface:
CfnTelemetryRulePropsMixin.ConditionProperty
@Stability(Stable)
public static final class CfnTelemetryRulePropsMixin.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ConditionProperty>
A builder for
CfnTelemetryRulePropsMixin.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionCondition(IResolvable actionCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getActionCondition()actionCondition(CfnTelemetryRulePropsMixin.ActionConditionProperty actionCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getActionCondition()build()Builds the configured instance.labelNameCondition(IResolvable labelNameCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getLabelNameCondition()labelNameCondition(CfnTelemetryRulePropsMixin.LabelNameConditionProperty labelNameCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getLabelNameCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionCondition
@Stability(Stable) public CfnTelemetryRulePropsMixin.ConditionProperty.Builder actionCondition(IResolvable actionCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getActionCondition()- Parameters:
actionCondition- Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).- Returns:
this
-
actionCondition
@Stability(Stable) public CfnTelemetryRulePropsMixin.ConditionProperty.Builder actionCondition(CfnTelemetryRulePropsMixin.ActionConditionProperty actionCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getActionCondition()- Parameters:
actionCondition- Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).- Returns:
this
-
labelNameCondition
@Stability(Stable) public CfnTelemetryRulePropsMixin.ConditionProperty.Builder labelNameCondition(IResolvable labelNameCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getLabelNameCondition()- Parameters:
labelNameCondition- Matches log records based on WAF rule labels applied to the request.- Returns:
this
-
labelNameCondition
@Stability(Stable) public CfnTelemetryRulePropsMixin.ConditionProperty.Builder labelNameCondition(CfnTelemetryRulePropsMixin.LabelNameConditionProperty labelNameCondition) Sets the value ofCfnTelemetryRulePropsMixin.ConditionProperty.getLabelNameCondition()- Parameters:
labelNameCondition- Matches log records based on WAF rule labels applied to the request.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ConditionProperty>- Returns:
- a new instance of
CfnTelemetryRulePropsMixin.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-