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 C32xlarge
C34xlarge
C38xlarge
C3Large
C3Xlarge
C42xlarge
C44xlarge
C48xlarge
C4Large
C4Xlarge
M32xlarge
M3Large
M3Medium
M3Xlarge
M410xlarge
M42xlarge
M44xlarge
M4Large
M4Xlarge
R32xlarge
R34xlarge
R38xlarge
R3Large
R3Xlarge
T2Large
T2Medium
T2Micro
T2Small
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EC2InstanceType
fromValue(String value)
Use this in place of valueOf.String
toString()
static EC2InstanceType
valueOf(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:
toString
in 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
-
-