org.jclouds.cloudstack.domain
Enum UsageRecord.UsageType

java.lang.Object
  extended by java.lang.Enum<UsageRecord.UsageType>
      extended by 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
ALLOCATED_VM
           
IP_ADDRESS
           
ISO
           
LOAD_BALANCER_POLICY
           
NETWORK_BYTES_RECEIVED
           
NETWORK_BYTES_SENT
           
NETWORK_OFFERING
           
PORT_FORWARDING_RULE
           
RUNNING_VM
           
SECURITY_GROUP
           
SNAPSHOT
           
TEMPLATE
           
UNRECOGNIZED
           
VOLUME
           
VPN_USERS
           
 
Method Summary
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.
 
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

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
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 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.