Class CfnMonitoringSchedule.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule>
- Enclosing class:
CfnMonitoringSchedule
@Stability(Stable)
public static final class CfnMonitoringSchedule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule>
A fluent builder for
CfnMonitoringSchedule
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
endpointName
(String endpointName) The name of the endpoint using the monitoring schedule.failureReason
(String failureReason) Contains the reason a monitoring job failed, if it failed.lastMonitoringExecutionSummary
(IResolvable lastMonitoringExecutionSummary) Describes metadata on the last execution to run, if there was one.lastMonitoringExecutionSummary
(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary) Describes metadata on the last execution to run, if there was one.monitoringScheduleConfig
(IResolvable monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.monitoringScheduleConfig
(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.monitoringScheduleName
(String monitoringScheduleName) The name of the monitoring schedule.monitoringScheduleStatus
(String monitoringScheduleStatus) The status of the monitoring schedule.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMonitoringSchedule.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
CfnMonitoringSchedule.Builder
.
-
monitoringScheduleConfig
@Stability(Stable) public CfnMonitoringSchedule.Builder monitoringScheduleConfig(IResolvable monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.- Parameters:
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.- Returns:
this
- See Also:
-
monitoringScheduleConfig
@Stability(Stable) public CfnMonitoringSchedule.Builder monitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.- Parameters:
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.- Returns:
this
- See Also:
-
monitoringScheduleName
@Stability(Stable) public CfnMonitoringSchedule.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:
-
endpointName
The name of the endpoint using the monitoring schedule.- Parameters:
endpointName
- The name of the endpoint using the monitoring schedule. This parameter is required.- Returns:
this
- See Also:
-
failureReason
Contains the reason a monitoring job failed, if it failed.- Parameters:
failureReason
- Contains the reason a monitoring job failed, if it failed. This parameter is required.- Returns:
this
- See Also:
-
lastMonitoringExecutionSummary
@Stability(Stable) public CfnMonitoringSchedule.Builder lastMonitoringExecutionSummary(IResolvable lastMonitoringExecutionSummary) Describes metadata on the last execution to run, if there was one.- Parameters:
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one. This parameter is required.- Returns:
this
- See Also:
-
lastMonitoringExecutionSummary
@Stability(Stable) public CfnMonitoringSchedule.Builder lastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary) Describes metadata on the last execution to run, if there was one.- Parameters:
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one. This parameter is required.- Returns:
this
- See Also:
-
monitoringScheduleStatus
@Stability(Stable) public CfnMonitoringSchedule.Builder monitoringScheduleStatus(String monitoringScheduleStatus) The status of the monitoring schedule.- Parameters:
monitoringScheduleStatus
- The status of the monitoring schedule. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule>
- Returns:
- a newly built instance of
CfnMonitoringSchedule
.
-