@Generated public enum SpotInstancePolicy extends Enum<SpotInstancePolicy>
| Enum Constant and Description |
|---|
COST_OPTIMIZED |
POLICY_UNSPECIFIED |
RELIABILITY_OPTIMIZED |
| Modifier and Type | Method and Description |
|---|---|
static SpotInstancePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpotInstancePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpotInstancePolicy COST_OPTIMIZED
public static final SpotInstancePolicy POLICY_UNSPECIFIED
public static final SpotInstancePolicy RELIABILITY_OPTIMIZED
public static SpotInstancePolicy[] values()
for (SpotInstancePolicy c : SpotInstancePolicy.values()) System.out.println(c);
public static SpotInstancePolicy 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 nullCopyright © 2024. All rights reserved.