Package 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>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageRecord.UsageType
fromValue(String usageType)
String
toString()
static UsageRecord.UsageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UsageRecord.UsageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
VM_DISK_IO_READ
public static final UsageRecord.UsageType VM_DISK_IO_READ
-
VM_DISK_IO_WRITE
public static final UsageRecord.UsageType VM_DISK_IO_WRITE
-
VM_DISK_BYTES_READ
public static final UsageRecord.UsageType VM_DISK_BYTES_READ
-
VM_DISK_BYTES_WRITE
public static final UsageRecord.UsageType VM_DISK_BYTES_WRITE
-
VM_SNAPSHOT
public static final UsageRecord.UsageType VM_SNAPSHOT
-
VOLUME_SECONDARY
public static final UsageRecord.UsageType VOLUME_SECONDARY
-
VM_SNAPSHOT_ON_PRIMARY
public static final UsageRecord.UsageType VM_SNAPSHOT_ON_PRIMARY
-
UNRECOGNIZED
public static final UsageRecord.UsageType UNRECOGNIZED
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<UsageRecord.UsageType>
-
fromValue
public static UsageRecord.UsageType fromValue(String usageType)
-
-