public static final class CfnMonitoringScheduleProps.Builder
extends java.lang.Object
CfnMonitoringScheduleProps
Constructor and Description |
---|
Builder() |
public CfnMonitoringScheduleProps.Builder monitoringScheduleConfig(IResolvable monitoringScheduleConfig)
CfnMonitoringScheduleProps.getMonitoringScheduleConfig()
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.this
public CfnMonitoringScheduleProps.Builder monitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig)
CfnMonitoringScheduleProps.getMonitoringScheduleConfig()
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.this
public CfnMonitoringScheduleProps.Builder monitoringScheduleName(java.lang.String monitoringScheduleName)
CfnMonitoringScheduleProps.getMonitoringScheduleName()
monitoringScheduleName
- The name of the monitoring schedule. This parameter is required.this
public CfnMonitoringScheduleProps.Builder endpointName(java.lang.String endpointName)
CfnMonitoringScheduleProps.getEndpointName()
endpointName
- The name of the endpoint using the monitoring schedule.this
public CfnMonitoringScheduleProps.Builder failureReason(java.lang.String failureReason)
CfnMonitoringScheduleProps.getFailureReason()
failureReason
- Contains the reason a monitoring job failed, if it failed.this
public CfnMonitoringScheduleProps.Builder lastMonitoringExecutionSummary(IResolvable lastMonitoringExecutionSummary)
CfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one.this
public CfnMonitoringScheduleProps.Builder lastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary)
CfnMonitoringScheduleProps.getLastMonitoringExecutionSummary()
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one.this
public CfnMonitoringScheduleProps.Builder monitoringScheduleStatus(java.lang.String monitoringScheduleStatus)
CfnMonitoringScheduleProps.getMonitoringScheduleStatus()
monitoringScheduleStatus
- The status of the monitoring schedule.this
public CfnMonitoringScheduleProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnMonitoringScheduleProps.getTags()
tags
- An array of key-value pairs to apply to this resource.
For more information, see Tag .this
public CfnMonitoringScheduleProps build()
CfnMonitoringScheduleProps
java.lang.NullPointerException
- if any required attribute was not provided