Class CfnDeploymentGroupPropsMixin.AlarmProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codedeploy.mixins.CfnDeploymentGroupPropsMixin.AlarmProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AlarmProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.AlarmProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.AlarmProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AlarmProperty>
A builder for
CfnDeploymentGroupPropsMixin.AlarmProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeploymentGroupPropsMixin.AlarmProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDeploymentGroupPropsMixin.AlarmProperty.getName()- Parameters:
name- The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AlarmProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.AlarmProperty - Throws:
NullPointerException- if any required attribute was not provided
-