@Stability(value=Stable) public static enum EmrCreateCluster.InstanceRoleType extends Enum<EmrCreateCluster.InstanceRoleType>
| Enum Constant and Description |
|---|
CORE
Core Node.
|
MASTER
Master Node.
|
TASK
Task Node.
|
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.InstanceRoleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmrCreateCluster.InstanceRoleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final EmrCreateCluster.InstanceRoleType MASTER
@Stability(value=Stable) public static final EmrCreateCluster.InstanceRoleType CORE
@Stability(value=Stable) public static final EmrCreateCluster.InstanceRoleType TASK
public static EmrCreateCluster.InstanceRoleType[] values()
for (EmrCreateCluster.InstanceRoleType c : EmrCreateCluster.InstanceRoleType.values()) System.out.println(c);
public static EmrCreateCluster.InstanceRoleType 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.