public static enum CreateScalingPolicy.ScalingPolicyType extends Enum<CreateScalingPolicy.ScalingPolicyType>
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<CreateScalingPolicy.ScalingPolicyType> |
getByValue(String value) |
String |
toString() |
static CreateScalingPolicy.ScalingPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateScalingPolicy.ScalingPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateScalingPolicy.ScalingPolicyType WEBHOOK
public static final CreateScalingPolicy.ScalingPolicyType SCHEDULE
public static CreateScalingPolicy.ScalingPolicyType[] values()
for (CreateScalingPolicy.ScalingPolicyType c : CreateScalingPolicy.ScalingPolicyType.values()) System.out.println(c);
public static CreateScalingPolicy.ScalingPolicyType 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.ScalingPolicyType>
public static com.google.common.base.Optional<CreateScalingPolicy.ScalingPolicyType> getByValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.