Class CfnCluster.AlarmDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.AlarmDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.AlarmDetailsProperty>
- Enclosing interface:
CfnCluster.AlarmDetailsProperty
@Stability(Stable)
public static final class CfnCluster.AlarmDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.AlarmDetailsProperty>
A builder for
CfnCluster.AlarmDetailsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCluster.AlarmDetailsProperty.getAlarmName()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmName
Sets the value ofCfnCluster.AlarmDetailsProperty.getAlarmName()
- Parameters:
alarmName
- The name of the alarm. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.AlarmDetailsProperty>
- Returns:
- a new instance of
CfnCluster.AlarmDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-