Enum ResizeJobFlowStep.OnArrested
- java.lang.Object
-
- java.lang.Enum<ResizeJobFlowStep.OnArrested>
-
- com.amazonaws.services.elasticmapreduce.util.ResizeJobFlowStep.OnArrested
-
- All Implemented Interfaces:
Serializable
,Comparable<ResizeJobFlowStep.OnArrested>
- Enclosing class:
- ResizeJobFlowStep
public static enum ResizeJobFlowStep.OnArrested extends Enum<ResizeJobFlowStep.OnArrested>
The action to take if your step is waiting for the instance group to start and it enters the Arrested state. Fail - Fail the step. Wait - Continue waiting until the instance group is no longer arrested (requires manual intervention). Continue - Proceed onto the next step.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResizeJobFlowStep.OnArrested
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResizeJobFlowStep.OnArrested[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Fail
public static final ResizeJobFlowStep.OnArrested Fail
-
Wait
public static final ResizeJobFlowStep.OnArrested Wait
-
Continue
public static final ResizeJobFlowStep.OnArrested Continue
-
-
Method Detail
-
values
public static ResizeJobFlowStep.OnArrested[] 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 (ResizeJobFlowStep.OnArrested c : ResizeJobFlowStep.OnArrested.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResizeJobFlowStep.OnArrested 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
-
-