Class CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringScheduleConfigProperty>
- Enclosing interface:
CfnMonitoringSchedule.MonitoringScheduleConfigProperty
@Stability(Stable)
public static final class CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringScheduleConfigProperty>
A builder for
CfnMonitoringSchedule.MonitoringScheduleConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.monitoringJobDefinition(IResolvable monitoringJobDefinition) monitoringJobDefinition(CfnMonitoringSchedule.MonitoringJobDefinitionProperty monitoringJobDefinition) monitoringJobDefinitionName(String monitoringJobDefinitionName) monitoringType(String monitoringType) scheduleConfig(IResolvable scheduleConfig) scheduleConfig(CfnMonitoringSchedule.ScheduleConfigProperty scheduleConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
monitoringJobDefinition
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder monitoringJobDefinition(IResolvable monitoringJobDefinition) Sets the value ofCfnMonitoringSchedule.MonitoringScheduleConfigProperty.getMonitoringJobDefinition()- Parameters:
monitoringJobDefinition- Defines the monitoring job.- Returns:
this
-
monitoringJobDefinition
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder monitoringJobDefinition(CfnMonitoringSchedule.MonitoringJobDefinitionProperty monitoringJobDefinition) Sets the value ofCfnMonitoringSchedule.MonitoringScheduleConfigProperty.getMonitoringJobDefinition()- Parameters:
monitoringJobDefinition- Defines the monitoring job.- Returns:
this
-
monitoringJobDefinitionName
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder monitoringJobDefinitionName(String monitoringJobDefinitionName) Sets the value ofCfnMonitoringSchedule.MonitoringScheduleConfigProperty.getMonitoringJobDefinitionName()- Parameters:
monitoringJobDefinitionName- The name of the monitoring job definition to schedule.- Returns:
this
-
monitoringType
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder monitoringType(String monitoringType) - Parameters:
monitoringType- The type of the monitoring job definition to schedule.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder scheduleConfig(IResolvable scheduleConfig) - Parameters:
scheduleConfig- Configures the monitoring schedule.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder scheduleConfig(CfnMonitoringSchedule.ScheduleConfigProperty scheduleConfig) - Parameters:
scheduleConfig- Configures the monitoring schedule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringScheduleConfigProperty>- Returns:
- a new instance of
CfnMonitoringSchedule.MonitoringScheduleConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-