|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InstanceType>
com.baidubce.services.bcc.model.instance.InstanceType
public enum InstanceType
The enum class to enumerate all the supported instance type in SDK.
| Enum Constant Summary | |
|---|---|
C1
The compute optimized instance. |
|
F1
The fpga instance. |
|
G1
The gpu instance. |
|
N1
The instance of normal purpose. |
|
N2
The second Enhanced instance of normal purpose for N1. |
|
N3
The third Enhanced instance of normal purpose using Intel Skylake. |
|
S1
The storage optimized instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final InstanceType N1
public static final InstanceType N2
N1.
public static final InstanceType N3
public static final InstanceType C1
public static final InstanceType S1
public static final InstanceType G1
public static final InstanceType F1
| Method Detail |
|---|
public static InstanceType[] values()
for (InstanceType c : InstanceType.values()) System.out.println(c);
public static InstanceType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||