Class CfnMonitoringScheduleAlertPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnMonitoringScheduleAlertPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringScheduleAlertPropsMixin>
- Enclosing class:
CfnMonitoringScheduleAlertPropsMixin
@Stability(Stable)
public static final class CfnMonitoringScheduleAlertPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringScheduleAlertPropsMixin>
A fluent builder for
CfnMonitoringScheduleAlertPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) datapointsToAlert(Number datapointsToAlert) Within EvaluationPeriod, how many execution failures will raise an alert.evaluationPeriod(Number evaluationPeriod) The number of most recent monitoring executions to consider when evaluating alert status.monitoringAlertName(String monitoringAlertName) The name of the monitoring alert.monitoringScheduleName(String monitoringScheduleName) The name of the monitoring schedule.
-
Method Details
-
create
@Stability(Stable) public static CfnMonitoringScheduleAlertPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMonitoringScheduleAlertPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMonitoringScheduleAlertPropsMixin.Builder.
-
datapointsToAlert
@Stability(Stable) public CfnMonitoringScheduleAlertPropsMixin.Builder datapointsToAlert(Number datapointsToAlert) Within EvaluationPeriod, how many execution failures will raise an alert.- Parameters:
datapointsToAlert- Within EvaluationPeriod, how many execution failures will raise an alert. This parameter is required.- Returns:
this- See Also:
-
evaluationPeriod
@Stability(Stable) public CfnMonitoringScheduleAlertPropsMixin.Builder evaluationPeriod(Number evaluationPeriod) The number of most recent monitoring executions to consider when evaluating alert status.- Parameters:
evaluationPeriod- The number of most recent monitoring executions to consider when evaluating alert status. This parameter is required.- Returns:
this- See Also:
-
monitoringAlertName
@Stability(Stable) public CfnMonitoringScheduleAlertPropsMixin.Builder monitoringAlertName(String monitoringAlertName) The name of the monitoring alert.- Parameters:
monitoringAlertName- The name of the monitoring alert. This parameter is required.- Returns:
this- See Also:
-
monitoringScheduleName
@Stability(Stable) public CfnMonitoringScheduleAlertPropsMixin.Builder monitoringScheduleName(String monitoringScheduleName) The name of the monitoring schedule.- Parameters:
monitoringScheduleName- The name of the monitoring schedule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitoringScheduleAlertPropsMixin>- Returns:
- a newly built instance of
CfnMonitoringScheduleAlertPropsMixin.
-