public static class CronExecutionSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CronExecutionSchedule |
build() |
CronExecutionSchedule.Builder |
copy(CronExecutionSchedule model) |
CronExecutionSchedule.Builder |
expression(String expression)
A cron expression that represents the time at which to execute the autoscaling policy.
|
CronExecutionSchedule.Builder |
timezone(ExecutionSchedule.Timezone timezone) |
public CronExecutionSchedule.Builder timezone(ExecutionSchedule.Timezone timezone)
public CronExecutionSchedule.Builder expression(String expression)
A cron expression that represents the time at which to execute the autoscaling policy.
Cron expressions have this format: <second> <minute> <hour> <day of month>
<month> <day of week> <year>
You can use special characters that are supported with the Quartz cron implementation.
You must specify 0
as the value for seconds.
Example: 0 15 10 ? * *
expression
- the value to setpublic CronExecutionSchedule build()
public CronExecutionSchedule.Builder copy(CronExecutionSchedule model)
Copyright © 2016–2024. All rights reserved.