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