Class CfnMonitoringScheduleAlertMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnMonitoringScheduleAlertMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringScheduleAlertMixinProps>
- Enclosing interface:
CfnMonitoringScheduleAlertMixinProps
@Stability(Stable)
public static final class CfnMonitoringScheduleAlertMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringScheduleAlertMixinProps>
A builder for
CfnMonitoringScheduleAlertMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datapointsToAlert(Number datapointsToAlert) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getDatapointsToAlert()evaluationPeriod(Number evaluationPeriod) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getEvaluationPeriod()monitoringAlertName(String monitoringAlertName) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getMonitoringAlertName()monitoringScheduleName(String monitoringScheduleName) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getMonitoringScheduleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datapointsToAlert
@Stability(Stable) public CfnMonitoringScheduleAlertMixinProps.Builder datapointsToAlert(Number datapointsToAlert) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getDatapointsToAlert()- Parameters:
datapointsToAlert- Within EvaluationPeriod, how many execution failures will raise an alert.- Returns:
this
-
evaluationPeriod
@Stability(Stable) public CfnMonitoringScheduleAlertMixinProps.Builder evaluationPeriod(Number evaluationPeriod) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getEvaluationPeriod()- Parameters:
evaluationPeriod- The number of most recent monitoring executions to consider when evaluating alert status.- Returns:
this
-
monitoringAlertName
@Stability(Stable) public CfnMonitoringScheduleAlertMixinProps.Builder monitoringAlertName(String monitoringAlertName) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getMonitoringAlertName()- Parameters:
monitoringAlertName- The name of the monitoring alert.- Returns:
this
-
monitoringScheduleName
@Stability(Stable) public CfnMonitoringScheduleAlertMixinProps.Builder monitoringScheduleName(String monitoringScheduleName) Sets the value ofCfnMonitoringScheduleAlertMixinProps.getMonitoringScheduleName()- Parameters:
monitoringScheduleName- The name of the monitoring schedule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitoringScheduleAlertMixinProps>- Returns:
- a new instance of
CfnMonitoringScheduleAlertMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-