@Stability(value=Stable) public static final class CfnMonitoringSchedule.ScheduleConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnMonitoringSchedule.ScheduleConfigProperty>
CfnMonitoringSchedule.ScheduleConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMonitoringSchedule.ScheduleConfigProperty |
build()
Builds the configured instance.
|
CfnMonitoringSchedule.ScheduleConfigProperty.Builder |
scheduleExpression(String scheduleExpression)
Sets the value of
CfnMonitoringSchedule.ScheduleConfigProperty.getScheduleExpression() |
@Stability(value=Stable) public CfnMonitoringSchedule.ScheduleConfigProperty.Builder scheduleExpression(String scheduleExpression)
CfnMonitoringSchedule.ScheduleConfigProperty.getScheduleExpression()scheduleExpression - A cron expression that describes details about the monitoring schedule. This parameter is required.
Currently the only supported cron expressions are:
Hourly: cron(0 * ? * * *)
cron(0 [00-23] ? * * *)
For example, the following are valid cron expressions:
cron(0 12 ? * * *)cron(0 0 ? * * *)To support running every 6, 12 hours, the following are also supported:
cron(0 [00-23]/[01-24] ? * * *)
For example, the following are valid cron expressions:
cron(0 17/12 ? * * *)cron(0 0/2 ? * * *)
- Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution.
- We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
this@Stability(value=Stable) public CfnMonitoringSchedule.ScheduleConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnMonitoringSchedule.ScheduleConfigProperty>CfnMonitoringSchedule.ScheduleConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.