Class CfnTelemetryRulePropsMixin.ActionConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnTelemetryRulePropsMixin.ActionConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ActionConditionProperty>
- Enclosing interface:
CfnTelemetryRulePropsMixin.ActionConditionProperty
@Stability(Stable)
public static final class CfnTelemetryRulePropsMixin.ActionConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ActionConditionProperty>
A builder for
CfnTelemetryRulePropsMixin.ActionConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTelemetryRulePropsMixin.ActionConditionProperty.getAction()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnTelemetryRulePropsMixin.ActionConditionProperty.Builder action(String action) Sets the value ofCfnTelemetryRulePropsMixin.ActionConditionProperty.getAction()- Parameters:
action- The WAF action to match against (ALLOW, BLOCK, COUNT, CAPTCHA, CHALLENGE, EXCLUDED_AS_COUNT).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRulePropsMixin.ActionConditionProperty>- Returns:
- a new instance of
CfnTelemetryRulePropsMixin.ActionConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-