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 Details

    • create

      @Stability(Stable) public static CfnMonitoringSchedule.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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
    • 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

      @Stability(Stable) public CfnMonitoringSchedule.Builder endpointName(String 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

      @Stability(Stable) public CfnMonitoringSchedule.Builder failureReason(String 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

      @Stability(Stable) public CfnMonitoringSchedule.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnMonitoringSchedule build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMonitoringSchedule>
      Returns:
      a newly built instance of CfnMonitoringSchedule.