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