Enum PartitionInstanceType
- java.lang.Object
-
- java.lang.Enum<PartitionInstanceType>
-
- com.amazonaws.services.cloudsearchv2.model.PartitionInstanceType
-
- All Implemented Interfaces:
Serializable
,Comparable<PartitionInstanceType>
public enum PartitionInstanceType extends Enum<PartitionInstanceType>
The instance type (such as
search.m1.small
) on which an index partition is hosted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SearchM1Large
SearchM1Small
SearchM22xlarge
SearchM2Xlarge
SearchM32xlarge
SearchM3Large
SearchM3Medium
SearchM3Xlarge
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
SearchM1Small
public static final PartitionInstanceType SearchM1Small
-
SearchM1Large
public static final PartitionInstanceType SearchM1Large
-
SearchM2Xlarge
public static final PartitionInstanceType SearchM2Xlarge
-
SearchM22xlarge
public static final PartitionInstanceType SearchM22xlarge
-
SearchM3Medium
public static final PartitionInstanceType SearchM3Medium
-
SearchM3Large
public static final PartitionInstanceType SearchM3Large
-
SearchM3Xlarge
public static final PartitionInstanceType SearchM3Xlarge
-
SearchM32xlarge
public static final PartitionInstanceType SearchM32xlarge
-
-
Method Detail
-
values
public static PartitionInstanceType[] 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 (PartitionInstanceType c : PartitionInstanceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PartitionInstanceType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<PartitionInstanceType>
-
fromValue
public static PartitionInstanceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- PartitionInstanceType corresponding to the value
-
-