Class CfnTelemetryRule.ActionConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRule.ActionConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRule.ActionConditionProperty>
- Enclosing interface:
CfnTelemetryRule.ActionConditionProperty
@Stability(Stable)
public static final class CfnTelemetryRule.ActionConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRule.ActionConditionProperty>
A builder for
CfnTelemetryRule.ActionConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTelemetryRule.ActionConditionProperty.getAction()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnTelemetryRule.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<CfnTelemetryRule.ActionConditionProperty>- Returns:
- a new instance of
CfnTelemetryRule.ActionConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-