@Stability(value=Experimental) public static enum EmrCreateCluster.InstanceMarket extends Enum<EmrCreateCluster.InstanceMarket>
Enum Constant and Description |
---|
ON_DEMAND
(experimental) On Demand Instance.
|
SPOT
(experimental) Spot Instance.
|
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.InstanceMarket |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmrCreateCluster.InstanceMarket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final EmrCreateCluster.InstanceMarket ON_DEMAND
@Stability(value=Experimental) public static final EmrCreateCluster.InstanceMarket SPOT
public static EmrCreateCluster.InstanceMarket[] values()
for (EmrCreateCluster.InstanceMarket c : EmrCreateCluster.InstanceMarket.values()) System.out.println(c);
public static EmrCreateCluster.InstanceMarket 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 © 2021. All rights reserved.