org.jclouds.cloudstack.domain
Enum UsageRecord.UsageType
java.lang.Object
java.lang.Enum<UsageRecord.UsageType>
org.jclouds.cloudstack.domain.UsageRecord.UsageType
- All Implemented Interfaces:
- Serializable, Comparable<UsageRecord.UsageType>
- Enclosing class:
- UsageRecord
public static enum UsageRecord.UsageType
- extends Enum<UsageRecord.UsageType>
RUNNING_VM
public static final UsageRecord.UsageType RUNNING_VM
ALLOCATED_VM
public static final UsageRecord.UsageType ALLOCATED_VM
IP_ADDRESS
public static final UsageRecord.UsageType IP_ADDRESS
NETWORK_BYTES_SENT
public static final UsageRecord.UsageType NETWORK_BYTES_SENT
NETWORK_BYTES_RECEIVED
public static final UsageRecord.UsageType NETWORK_BYTES_RECEIVED
VOLUME
public static final UsageRecord.UsageType VOLUME
TEMPLATE
public static final UsageRecord.UsageType TEMPLATE
ISO
public static final UsageRecord.UsageType ISO
SNAPSHOT
public static final UsageRecord.UsageType SNAPSHOT
SECURITY_GROUP
public static final UsageRecord.UsageType SECURITY_GROUP
LOAD_BALANCER_POLICY
public static final UsageRecord.UsageType LOAD_BALANCER_POLICY
PORT_FORWARDING_RULE
public static final UsageRecord.UsageType PORT_FORWARDING_RULE
NETWORK_OFFERING
public static final UsageRecord.UsageType NETWORK_OFFERING
VPN_USERS
public static final UsageRecord.UsageType VPN_USERS
UNRECOGNIZED
public static final UsageRecord.UsageType UNRECOGNIZED
values
public static UsageRecord.UsageType[] 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 (UsageRecord.UsageType c : UsageRecord.UsageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UsageRecord.UsageType 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 name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<UsageRecord.UsageType>
fromValue
public static UsageRecord.UsageType fromValue(String usageType)
Copyright © 2009-2012 jclouds. All Rights Reserved.