public enum ObjectType extends Enum<ObjectType>
Enum Constant and Description |
---|
CLOUD_STORAGE |
DEDICATED_SERVER |
LOAD_BALANCER |
SERVER_IMAGE |
STORAGE_DNS |
UNRECOGNIZED |
VIRTUAL_SERVER |
Modifier and Type | Method and Description |
---|---|
static ObjectType |
fromValue(String type) |
String |
toString() |
String |
value() |
static ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType VIRTUAL_SERVER
public static final ObjectType LOAD_BALANCER
public static final ObjectType CLOUD_STORAGE
public static final ObjectType STORAGE_DNS
public static final ObjectType SERVER_IMAGE
public static final ObjectType DEDICATED_SERVER
public static final ObjectType UNRECOGNIZED
public static ObjectType[] values()
for (ObjectType c : ObjectType.values()) System.out.println(c);
public static ObjectType 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 value()
public String toString()
toString
in class Enum<ObjectType>
public static ObjectType fromValue(String type)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.