public static final class CfnMonitoringSchedule.Builder
extends java.lang.Object
CfnMonitoringSchedule
.Modifier and Type | Method and Description |
---|---|
CfnMonitoringSchedule |
build() |
static CfnMonitoringSchedule.Builder |
create(Construct scope,
java.lang.String id) |
CfnMonitoringSchedule.Builder |
endpointName(java.lang.String endpointName)
The name of the endpoint using the monitoring schedule.
|
CfnMonitoringSchedule.Builder |
failureReason(java.lang.String failureReason)
Contains the reason a monitoring job failed, if it failed.
|
CfnMonitoringSchedule.Builder |
lastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary)
Describes metadata on the last execution to run, if there was one.
|
CfnMonitoringSchedule.Builder |
lastMonitoringExecutionSummary(IResolvable lastMonitoringExecutionSummary)
Describes metadata on the last execution to run, if there was one.
|
CfnMonitoringSchedule.Builder |
monitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
|
CfnMonitoringSchedule.Builder |
monitoringScheduleConfig(IResolvable monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
|
CfnMonitoringSchedule.Builder |
monitoringScheduleName(java.lang.String monitoringScheduleName)
The name of the monitoring schedule.
|
CfnMonitoringSchedule.Builder |
monitoringScheduleStatus(java.lang.String monitoringScheduleStatus)
The status of the monitoring schedule.
|
CfnMonitoringSchedule.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
public static CfnMonitoringSchedule.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnMonitoringSchedule.BaselineConfigProperty.Builder
.public CfnMonitoringSchedule.Builder monitoringScheduleConfig(IResolvable monitoringScheduleConfig)
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.this
public CfnMonitoringSchedule.Builder monitoringScheduleConfig(CfnMonitoringSchedule.MonitoringScheduleConfigProperty monitoringScheduleConfig)
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job. This parameter is required.this
public CfnMonitoringSchedule.Builder monitoringScheduleName(java.lang.String monitoringScheduleName)
monitoringScheduleName
- The name of the monitoring schedule. This parameter is required.this
public CfnMonitoringSchedule.Builder endpointName(java.lang.String endpointName)
endpointName
- The name of the endpoint using the monitoring schedule. This parameter is required.this
public CfnMonitoringSchedule.Builder failureReason(java.lang.String failureReason)
failureReason
- Contains the reason a monitoring job failed, if it failed. This parameter is required.this
public CfnMonitoringSchedule.Builder lastMonitoringExecutionSummary(IResolvable lastMonitoringExecutionSummary)
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one. This parameter is required.this
public CfnMonitoringSchedule.Builder lastMonitoringExecutionSummary(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty lastMonitoringExecutionSummary)
lastMonitoringExecutionSummary
- Describes metadata on the last execution to run, if there was one. This parameter is required.this
public CfnMonitoringSchedule.Builder monitoringScheduleStatus(java.lang.String monitoringScheduleStatus)
monitoringScheduleStatus
- The status of the monitoring schedule. This parameter is required.this
public CfnMonitoringSchedule.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag .
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnMonitoringSchedule build()