public static enum EmrCreateCluster.ScalingAdjustmentType extends java.lang.Enum<EmrCreateCluster.ScalingAdjustmentType>
Enum Constant and Description |
---|
CHANGE_IN_CAPACITY
CHANGE_IN_CAPACITY.
|
EXACT_CAPACITY
EXACT_CAPACITY.
|
PERCENT_CHANGE_IN_CAPACITY
PERCENT_CHANGE_IN_CAPACITY.
|
Modifier and Type | Method and Description |
---|---|
static EmrCreateCluster.ScalingAdjustmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmrCreateCluster.ScalingAdjustmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmrCreateCluster.ScalingAdjustmentType CHANGE_IN_CAPACITY
public static final EmrCreateCluster.ScalingAdjustmentType PERCENT_CHANGE_IN_CAPACITY
public static final EmrCreateCluster.ScalingAdjustmentType EXACT_CAPACITY
public static EmrCreateCluster.ScalingAdjustmentType[] values()
for (EmrCreateCluster.ScalingAdjustmentType c : EmrCreateCluster.ScalingAdjustmentType.values()) System.out.println(c);
public static EmrCreateCluster.ScalingAdjustmentType 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