public static enum Capacity.Type extends Enum<Capacity.Type>
Modifier and Type | Method and Description |
---|---|
static Capacity.Type |
fromValue(String type) |
String |
toString() |
static Capacity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capacity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capacity.Type MEMORY_ALLOCATED_BYTES
public static final Capacity.Type CPU_ALLOCATED_MHZ
public static final Capacity.Type PRIMARY_STORAGE_USED_BYTES
public static final Capacity.Type PRIMARY_STORAGE_ALLOCATED_BYTES
public static final Capacity.Type PUBLIC_IP_ADDRESSES
public static final Capacity.Type PRIVATE_IP_ADDRESSES
public static final Capacity.Type SECONDARY_STORAGE_USED_BYTES
public static final Capacity.Type VLANS
public static final Capacity.Type DIRECT_ATTACHED_PUBLIC_IP_ADDRESSES
public static final Capacity.Type LOCAL_STORAGE_USED_BYTES
public static final Capacity.Type UNRECOGNIZED
public static Capacity.Type[] values()
for (Capacity.Type c : Capacity.Type.values()) System.out.println(c);
public static Capacity.Type 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<Capacity.Type>
public static Capacity.Type fromValue(String type)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.