@Generated public enum AwsAvailability extends Enum<AwsAvailability>
Note: If `first_on_demand` is zero, this availability type will be used for the entire cluster.
Enum Constant and Description |
---|
ON_DEMAND |
SPOT |
SPOT_WITH_FALLBACK |
Modifier and Type | Method and Description |
---|---|
static AwsAvailability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AwsAvailability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwsAvailability ON_DEMAND
public static final AwsAvailability SPOT
public static final AwsAvailability SPOT_WITH_FALLBACK
public static AwsAvailability[] values()
for (AwsAvailability c : AwsAvailability.values()) System.out.println(c);
public static AwsAvailability 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 © 2023. All rights reserved.