@Generated(value="OracleSDKGenerator", comments="API Version: 20181001") public final class CronExecutionSchedule extends ExecutionSchedule
An autoscaling execution schedule that uses a cron expression.
CronExecutionSchedule.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the CronExecutionSchedule.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
CronExecutionSchedule.Builder |
ExecutionSchedule.Timezone
Constructor and Description |
---|
CronExecutionSchedule(ExecutionSchedule.Timezone timezone,
String expression)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CronExecutionSchedule.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getExpression()
A cron expression that represents the time at which to execute the autoscaling policy.
|
int |
hashCode() |
CronExecutionSchedule.Builder |
toBuilder() |
String |
toString() |
getTimezone
@Deprecated public CronExecutionSchedule(ExecutionSchedule.Timezone timezone, String expression)
public static CronExecutionSchedule.Builder builder()
Create a new builder.
public CronExecutionSchedule.Builder toBuilder()
public String getExpression()
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 ? * *
public String toString()
toString
in class ExecutionSchedule
public boolean equals(Object o)
equals
in class ExecutionSchedule
protected boolean canEqual(Object other)
canEqual
in class ExecutionSchedule
public int hashCode()
hashCode
in class ExecutionSchedule
Copyright © 2016–2022. All rights reserved.