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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule>
- Returns:
- a newly built instance of
CfnMonitoringSchedule
.
-