Enum BootstrapActions.Daemon
- java.lang.Object
-
- java.lang.Enum<BootstrapActions.Daemon>
-
- com.amazonaws.services.elasticmapreduce.util.BootstrapActions.Daemon
-
- All Implemented Interfaces:
Serializable
,Comparable<BootstrapActions.Daemon>
- Enclosing class:
- BootstrapActions
public static enum BootstrapActions.Daemon extends Enum<BootstrapActions.Daemon>
List of Hadoop daemons which can be configured.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Client
DataNode
JobTracker
NameNode
TaskTracker
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BootstrapActions.Daemon
valueOf(String name)
Returns the enum constant of this type with the specified name.static BootstrapActions.Daemon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NameNode
public static final BootstrapActions.Daemon NameNode
-
DataNode
public static final BootstrapActions.Daemon DataNode
-
JobTracker
public static final BootstrapActions.Daemon JobTracker
-
TaskTracker
public static final BootstrapActions.Daemon TaskTracker
-
Client
public static final BootstrapActions.Daemon Client
-
-
Method Detail
-
values
public static BootstrapActions.Daemon[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BootstrapActions.Daemon c : BootstrapActions.Daemon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BootstrapActions.Daemon valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-