public static enum EmrCreateCluster.InstanceRoleType extends java.lang.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(java.lang.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.
|
public static final EmrCreateCluster.InstanceRoleType MASTER
public static final EmrCreateCluster.InstanceRoleType CORE
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null