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