Class CfnInferenceComponent.AlarmProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.AlarmProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponent.AlarmProperty>
- Enclosing interface:
CfnInferenceComponent.AlarmProperty
@Stability(Stable)
public static final class CfnInferenceComponent.AlarmProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponent.AlarmProperty>
A builder for
CfnInferenceComponent.AlarmProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnInferenceComponent.AlarmProperty.getAlarmName()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmName
Sets the value ofCfnInferenceComponent.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<CfnInferenceComponent.AlarmProperty>- Returns:
- a new instance of
CfnInferenceComponent.AlarmProperty - Throws:
NullPointerException- if any required attribute was not provided
-