public static enum CreateScalingPolicy.ScalingPolicyScheduleType extends Enum<CreateScalingPolicy.ScalingPolicyScheduleType>
Enum Constant and Description |
---|
AT
Example: "1 0 * * *"
|
CRON
Example date string: "2013-12-05T03:12:00Z"
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<CreateScalingPolicy.ScalingPolicyTargetType> |
getByValue(String value) |
String |
toString() |
static CreateScalingPolicy.ScalingPolicyScheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateScalingPolicy.ScalingPolicyScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateScalingPolicy.ScalingPolicyScheduleType AT
ScalingPolicy.Builder#cronSchedule(String)
public static final CreateScalingPolicy.ScalingPolicyScheduleType CRON
ScalingPolicy.Builder#atSchedule(String)
public static CreateScalingPolicy.ScalingPolicyScheduleType[] values()
for (CreateScalingPolicy.ScalingPolicyScheduleType c : CreateScalingPolicy.ScalingPolicyScheduleType.values()) System.out.println(c);
public static CreateScalingPolicy.ScalingPolicyScheduleType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CreateScalingPolicy.ScalingPolicyScheduleType>
public static com.google.common.base.Optional<CreateScalingPolicy.ScalingPolicyTargetType> getByValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.