Class CfnPlanPropsMixin.TriggerConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.TriggerConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.TriggerConditionProperty>
- Enclosing interface:
CfnPlanPropsMixin.TriggerConditionProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.TriggerConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.TriggerConditionProperty>
A builder for
CfnPlanPropsMixin.TriggerConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociatedAlarmName(String associatedAlarmName) Sets the value ofCfnPlanPropsMixin.TriggerConditionProperty.getAssociatedAlarmName()build()Builds the configured instance.Sets the value ofCfnPlanPropsMixin.TriggerConditionProperty.getCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associatedAlarmName
@Stability(Stable) public CfnPlanPropsMixin.TriggerConditionProperty.Builder associatedAlarmName(String associatedAlarmName) Sets the value ofCfnPlanPropsMixin.TriggerConditionProperty.getAssociatedAlarmName()- Parameters:
associatedAlarmName- The name of the CloudWatch alarm associated with the condition.- Returns:
this
-
condition
@Stability(Stable) public CfnPlanPropsMixin.TriggerConditionProperty.Builder condition(String condition) Sets the value ofCfnPlanPropsMixin.TriggerConditionProperty.getCondition()- Parameters:
condition- The condition that must be met. Valid values include ALARM and OK.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.TriggerConditionProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.TriggerConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-