public static enum UsageRecord.UsageType extends Enum<UsageRecord.UsageType>
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 VM_DISK_IO_READ
public static final UsageRecord.UsageType VM_DISK_IO_WRITE
public static final UsageRecord.UsageType VM_DISK_BYTES_READ
public static final UsageRecord.UsageType VM_DISK_BYTES_WRITE
public static final UsageRecord.UsageType VM_SNAPSHOT
public static final UsageRecord.UsageType VOLUME_SECONDARY
public static final UsageRecord.UsageType VM_SNAPSHOT_ON_PRIMARY
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–2021 The Apache Software Foundation. All rights reserved.