Package com.oracle.bmc.autoscaling.model
Class CronExecutionSchedule.Builder
- java.lang.Object
-
- com.oracle.bmc.autoscaling.model.CronExecutionSchedule.Builder
-
- Enclosing class:
- CronExecutionSchedule
public static class CronExecutionSchedule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
timezone
public CronExecutionSchedule.Builder timezone(ExecutionSchedule.Timezone timezone)
-
expression
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:
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 ? * *
- Parameters:
expression
- the value to set- Returns:
- this builder
-
build
public CronExecutionSchedule build()
-
copy
public CronExecutionSchedule.Builder copy(CronExecutionSchedule model)
-
-