public static enum VirtualIP.Type extends Enum<VirtualIP.Type>
Enum Constant and Description |
---|
PUBLIC
An address that is routable on the public Internet.
|
SERVICENET
An address that is routable only on the Rackspace ServiceNet.
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VirtualIP.Type |
fromValue(String type) |
static VirtualIP.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualIP.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualIP.Type PUBLIC
public static final VirtualIP.Type SERVICENET
public static final VirtualIP.Type UNRECOGNIZED
public static VirtualIP.Type[] values()
for (VirtualIP.Type c : VirtualIP.Type.values()) System.out.println(c);
public static VirtualIP.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 static VirtualIP.Type fromValue(String type)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.