|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResourceLimit.ResourceType> org.jclouds.cloudstack.domain.ResourceLimit.ResourceType
public static enum ResourceLimit.ResourceType
Type of resource to update.
Enum Constant Summary | |
---|---|
INSTANCE
0 - Instance. |
|
IP
1 - IP. |
|
SNAPSHOT
3 - Snapshot. |
|
TEMPLATE
4 - Template. |
|
UNRECOGNIZED
|
|
VOLUME
2 - Volume. |
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 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 |