Class CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fis.CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty>
- Enclosing interface:
CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty
@Stability(Stable)
public static final class CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.value(ICompositeAlarmRef value)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
@Stability(Stable) public CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder source(String source) Sets the value ofCfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.getSource()- Parameters:
source- The source for the stop condition.- Returns:
this
-
value
@Stability(Stable) public CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder value(String value) Sets the value ofCfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.getValue()- Parameters:
value- The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.- Returns:
this
-
value
@Stability(Stable) public CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.Builder value(ICompositeAlarmRef value) Sets the value ofCfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty.getValue()- Parameters:
value- The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.- Returns:
this
-
build
@Stability(Stable) public CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty>- Returns:
- a new instance of
CfnExperimentTemplatePropsMixin.ExperimentTemplateStopConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-