Package com.amazonaws.services.ec2.model
Enum InstanceType
- java.lang.Object
-
- java.lang.Enum<InstanceType>
-
- com.amazonaws.services.ec2.model.InstanceType
-
- All Implemented Interfaces:
Serializable
,Comparable<InstanceType>
public enum InstanceType extends Enum<InstanceType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceType
fromValue(String value)
Use this in place of valueOf.String
toString()
static InstanceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstanceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
T1Micro
public static final InstanceType T1Micro
-
M1Small
public static final InstanceType M1Small
-
M1Medium
public static final InstanceType M1Medium
-
M1Large
public static final InstanceType M1Large
-
M1Xlarge
public static final InstanceType M1Xlarge
-
M3Medium
public static final InstanceType M3Medium
-
M3Large
public static final InstanceType M3Large
-
M3Xlarge
public static final InstanceType M3Xlarge
-
M32xlarge
public static final InstanceType M32xlarge
-
M4Large
public static final InstanceType M4Large
-
M4Xlarge
public static final InstanceType M4Xlarge
-
M42xlarge
public static final InstanceType M42xlarge
-
M44xlarge
public static final InstanceType M44xlarge
-
M410xlarge
public static final InstanceType M410xlarge
-
T2Nano
public static final InstanceType T2Nano
-
T2Micro
public static final InstanceType T2Micro
-
T2Small
public static final InstanceType T2Small
-
T2Medium
public static final InstanceType T2Medium
-
T2Large
public static final InstanceType T2Large
-
M2Xlarge
public static final InstanceType M2Xlarge
-
M22xlarge
public static final InstanceType M22xlarge
-
M24xlarge
public static final InstanceType M24xlarge
-
Cr18xlarge
public static final InstanceType Cr18xlarge
-
X14xlarge
public static final InstanceType X14xlarge
-
X18xlarge
public static final InstanceType X18xlarge
-
X116xlarge
public static final InstanceType X116xlarge
-
X132xlarge
public static final InstanceType X132xlarge
-
I2Xlarge
public static final InstanceType I2Xlarge
-
I22xlarge
public static final InstanceType I22xlarge
-
I24xlarge
public static final InstanceType I24xlarge
-
I28xlarge
public static final InstanceType I28xlarge
-
Hi14xlarge
public static final InstanceType Hi14xlarge
-
Hs18xlarge
public static final InstanceType Hs18xlarge
-
C1Medium
public static final InstanceType C1Medium
-
C1Xlarge
public static final InstanceType C1Xlarge
-
C3Large
public static final InstanceType C3Large
-
C3Xlarge
public static final InstanceType C3Xlarge
-
C32xlarge
public static final InstanceType C32xlarge
-
C34xlarge
public static final InstanceType C34xlarge
-
C38xlarge
public static final InstanceType C38xlarge
-
C4Large
public static final InstanceType C4Large
-
C4Xlarge
public static final InstanceType C4Xlarge
-
C42xlarge
public static final InstanceType C42xlarge
-
C44xlarge
public static final InstanceType C44xlarge
-
C48xlarge
public static final InstanceType C48xlarge
-
Cc14xlarge
public static final InstanceType Cc14xlarge
-
Cc28xlarge
public static final InstanceType Cc28xlarge
-
G22xlarge
public static final InstanceType G22xlarge
-
G28xlarge
public static final InstanceType G28xlarge
-
Cg14xlarge
public static final InstanceType Cg14xlarge
-
R3Large
public static final InstanceType R3Large
-
R3Xlarge
public static final InstanceType R3Xlarge
-
R32xlarge
public static final InstanceType R32xlarge
-
R34xlarge
public static final InstanceType R34xlarge
-
R38xlarge
public static final InstanceType R38xlarge
-
D2Xlarge
public static final InstanceType D2Xlarge
-
D22xlarge
public static final InstanceType D22xlarge
-
D24xlarge
public static final InstanceType D24xlarge
-
D28xlarge
public static final InstanceType D28xlarge
-
-
Method Detail
-
values
public static InstanceType[] 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 (InstanceType c : InstanceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceType 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<InstanceType>
-
fromValue
public static InstanceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- InstanceType corresponding to the value
-
-