Class CfnMonitoringScheduleAlert.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringScheduleAlert.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringScheduleAlert>
- Enclosing class:
CfnMonitoringScheduleAlert
@Stability(Stable)
public static final class CfnMonitoringScheduleAlert.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringScheduleAlert>
A fluent builder for
CfnMonitoringScheduleAlert.-
Method Summary
Modifier and TypeMethodDescriptionbuild()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 CfnMonitoringScheduleAlert.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMonitoringScheduleAlert.Builder.
-
datapointsToAlert
@Stability(Stable) public CfnMonitoringScheduleAlert.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 CfnMonitoringScheduleAlert.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 CfnMonitoringScheduleAlert.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 CfnMonitoringScheduleAlert.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<CfnMonitoringScheduleAlert>- Returns:
- a newly built instance of
CfnMonitoringScheduleAlert.
-