Class CfnMonitoringScheduleProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringScheduleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringScheduleProps>
- Enclosing interface:
CfnMonitoringScheduleProps
@Stability(Stable)
public static final class CfnMonitoringScheduleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringScheduleProps>
A builder for
CfnMonitoringScheduleProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointName
(String endpointName) Sets the value ofCfnMonitoringScheduleProps.getEndpointName()
failureReason
(String failureReason) Sets the value ofCfnMonitoringScheduleProps.getFailureReason()
lastMonitoringExecutionSummary
(IResolvable lastMonitoringExecutionSummary) Sets the value ofCfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
lastMonitoringExecutionSummary
(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary) Sets the value ofCfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
monitoringScheduleConfig
(IResolvable monitoringScheduleConfig) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleConfig()
monitoringScheduleConfig
(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleConfig()
monitoringScheduleName
(String monitoringScheduleName) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleName()
monitoringScheduleStatus
(String monitoringScheduleStatus) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleStatus()
Sets the value ofCfnMonitoringScheduleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
monitoringScheduleConfig
@Stability(Stable) public CfnMonitoringScheduleProps.Builder monitoringScheduleConfig(IResolvable monitoringScheduleConfig) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleConfig()
- 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 CfnMonitoringScheduleProps.Builder monitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleConfig()
- 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 CfnMonitoringScheduleProps.Builder monitoringScheduleName(String monitoringScheduleName) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleName()
- Parameters:
monitoringScheduleName
- The name of the monitoring schedule. This parameter is required.- Returns:
this
-
endpointName
Sets the value ofCfnMonitoringScheduleProps.getEndpointName()
- Parameters:
endpointName
- The name of the endpoint using the monitoring schedule.- Returns:
this
-
failureReason
Sets the value ofCfnMonitoringScheduleProps.getFailureReason()
- Parameters:
failureReason
- Contains the reason a monitoring job failed, if it failed.- Returns:
this
-
lastMonitoringExecutionSummary
@Stability(Stable) public CfnMonitoringScheduleProps.Builder lastMonitoringExecutionSummary(IResolvable lastMonitoringExecutionSummary) Sets the value ofCfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
- Parameters:
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one.- Returns:
this
-
lastMonitoringExecutionSummary
@Stability(Stable) public CfnMonitoringScheduleProps.Builder lastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary) Sets the value ofCfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
- Parameters:
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one.- Returns:
this
-
monitoringScheduleStatus
@Stability(Stable) public CfnMonitoringScheduleProps.Builder monitoringScheduleStatus(String monitoringScheduleStatus) Sets the value ofCfnMonitoringScheduleProps.getMonitoringScheduleStatus()
- Parameters:
monitoringScheduleStatus
- The status of the monitoring schedule.- Returns:
this
-
tags
Sets the value ofCfnMonitoringScheduleProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringScheduleProps>
- Returns:
- a new instance of
CfnMonitoringScheduleProps
- Throws:
NullPointerException
- if any required attribute was not provided
-