@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum PartitionInstanceType extends Enum<PartitionInstanceType>
The instance type (such as search.m1.small
) on which an index partition is hosted.
Modifier and Type | Method and Description |
---|---|
static PartitionInstanceType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static PartitionInstanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionInstanceType SearchM1Small
public static final PartitionInstanceType SearchM1Large
public static final PartitionInstanceType SearchM2Xlarge
public static final PartitionInstanceType SearchM22xlarge
public static final PartitionInstanceType SearchM3Medium
public static final PartitionInstanceType SearchM3Large
public static final PartitionInstanceType SearchM3Xlarge
public static final PartitionInstanceType SearchM32xlarge
public static final PartitionInstanceType SearchSmall
public static final PartitionInstanceType SearchMedium
public static final PartitionInstanceType SearchLarge
public static final PartitionInstanceType SearchXlarge
public static final PartitionInstanceType Search2xlarge
public static final PartitionInstanceType SearchPreviousgenerationSmall
public static final PartitionInstanceType SearchPreviousgenerationLarge
public static final PartitionInstanceType SearchPreviousgenerationXlarge
public static final PartitionInstanceType SearchPreviousgeneration2xlarge
public static PartitionInstanceType[] values()
for (PartitionInstanceType c : PartitionInstanceType.values()) System.out.println(c);
public static PartitionInstanceType 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 nullpublic String toString()
toString
in class Enum<PartitionInstanceType>
public static PartitionInstanceType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.