public static enum UsageRecord.UsageType extends Enum<UsageRecord.UsageType>
Enum Constant and Description |
---|
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 |
Modifier and Type | Method and 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.
|
public static final UsageRecord.UsageType RUNNING_VM
public static final UsageRecord.UsageType ALLOCATED_VM
public static final UsageRecord.UsageType IP_ADDRESS
public static final UsageRecord.UsageType NETWORK_BYTES_SENT
public static final UsageRecord.UsageType NETWORK_BYTES_RECEIVED
public static final UsageRecord.UsageType VOLUME
public static final UsageRecord.UsageType TEMPLATE
public static final UsageRecord.UsageType ISO
public static final UsageRecord.UsageType SNAPSHOT
public static final UsageRecord.UsageType SECURITY_GROUP
public static final UsageRecord.UsageType LOAD_BALANCER_POLICY
public static final UsageRecord.UsageType PORT_FORWARDING_RULE
public static final UsageRecord.UsageType NETWORK_OFFERING
public static final UsageRecord.UsageType VPN_USERS
public static final UsageRecord.UsageType UNRECOGNIZED
public static UsageRecord.UsageType[] values()
for (UsageRecord.UsageType c : UsageRecord.UsageType.values()) System.out.println(c);
public static UsageRecord.UsageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<UsageRecord.UsageType>
public static UsageRecord.UsageType fromValue(String usageType)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.