|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ResourceLimit.ResourceType>
org.jclouds.cloudstack.domain.ResourceLimit.ResourceType
public static enum ResourceLimit.ResourceType
Type of resource to update.
| Enum Constant Summary | |
|---|---|
CPU
8 - CPU. |
|
INSTANCE
0 - Instance. |
|
IP
1 - IP. |
|
MEMORY
9 - Memory. |
|
NETWORK
6 - Networks. |
|
PRIMARY_STORAGE
10 - Primary storage. |
|
PROJECT
5 - Projects. |
|
SECONDARY_STORAGE
11 - Secondary storage. |
|
SNAPSHOT
3 - Snapshot. |
|
TEMPLATE
4 - Template. |
|
UNRECOGNIZED
|
|
VOLUME
2 - Volume. |
|
VPC
7 - VPC. |
|
| Method Summary | |
|---|---|
static ResourceLimit.ResourceType |
fromValue(String resourceType)
|
int |
getCode()
|
String |
toString()
|
static ResourceLimit.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResourceLimit.ResourceType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ResourceLimit.ResourceType INSTANCE
public static final ResourceLimit.ResourceType IP
public static final ResourceLimit.ResourceType VOLUME
public static final ResourceLimit.ResourceType SNAPSHOT
public static final ResourceLimit.ResourceType TEMPLATE
public static final ResourceLimit.ResourceType PROJECT
public static final ResourceLimit.ResourceType NETWORK
public static final ResourceLimit.ResourceType VPC
public static final ResourceLimit.ResourceType CPU
public static final ResourceLimit.ResourceType MEMORY
public static final ResourceLimit.ResourceType PRIMARY_STORAGE
public static final ResourceLimit.ResourceType SECONDARY_STORAGE
public static final ResourceLimit.ResourceType UNRECOGNIZED
| Method Detail |
|---|
public static ResourceLimit.ResourceType[] values()
for (ResourceLimit.ResourceType c : ResourceLimit.ResourceType.values()) System.out.println(c);
public static ResourceLimit.ResourceType 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 nullpublic int getCode()
public String toString()
toString in class Enum<ResourceLimit.ResourceType>public static ResourceLimit.ResourceType fromValue(String resourceType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||