Enum EC2InstanceType
- java.lang.Object
-
- java.lang.Enum<EC2InstanceType>
-
- com.amazonaws.services.gamelift.model.EC2InstanceType
-
- All Implemented Interfaces:
Serializable,Comparable<EC2InstanceType>
public enum EC2InstanceType extends Enum<EC2InstanceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description C32xlargeC34xlargeC38xlargeC3LargeC3XlargeC42xlargeC44xlargeC48xlargeC4LargeC4XlargeM32xlargeM3LargeM3MediumM3XlargeM410xlargeM42xlargeM44xlargeM4LargeM4XlargeR32xlargeR34xlargeR38xlargeR3LargeR3XlargeT2LargeT2MediumT2MicroT2Small
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EC2InstanceTypefromValue(String value)Use this in place of valueOf.StringtoString()static EC2InstanceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EC2InstanceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
T2Micro
public static final EC2InstanceType T2Micro
-
T2Small
public static final EC2InstanceType T2Small
-
T2Medium
public static final EC2InstanceType T2Medium
-
T2Large
public static final EC2InstanceType T2Large
-
C3Large
public static final EC2InstanceType C3Large
-
C3Xlarge
public static final EC2InstanceType C3Xlarge
-
C32xlarge
public static final EC2InstanceType C32xlarge
-
C34xlarge
public static final EC2InstanceType C34xlarge
-
C38xlarge
public static final EC2InstanceType C38xlarge
-
C4Large
public static final EC2InstanceType C4Large
-
C4Xlarge
public static final EC2InstanceType C4Xlarge
-
C42xlarge
public static final EC2InstanceType C42xlarge
-
C44xlarge
public static final EC2InstanceType C44xlarge
-
C48xlarge
public static final EC2InstanceType C48xlarge
-
R3Large
public static final EC2InstanceType R3Large
-
R3Xlarge
public static final EC2InstanceType R3Xlarge
-
R32xlarge
public static final EC2InstanceType R32xlarge
-
R34xlarge
public static final EC2InstanceType R34xlarge
-
R38xlarge
public static final EC2InstanceType R38xlarge
-
M3Medium
public static final EC2InstanceType M3Medium
-
M3Large
public static final EC2InstanceType M3Large
-
M3Xlarge
public static final EC2InstanceType M3Xlarge
-
M32xlarge
public static final EC2InstanceType M32xlarge
-
M4Large
public static final EC2InstanceType M4Large
-
M4Xlarge
public static final EC2InstanceType M4Xlarge
-
M42xlarge
public static final EC2InstanceType M42xlarge
-
M44xlarge
public static final EC2InstanceType M44xlarge
-
M410xlarge
public static final EC2InstanceType M410xlarge
-
-
Method Detail
-
values
public static EC2InstanceType[] 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 (EC2InstanceType c : EC2InstanceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EC2InstanceType 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:
toStringin classEnum<EC2InstanceType>
-
fromValue
public static EC2InstanceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value- real value- Returns:
- EC2InstanceType corresponding to the value
-
-