public static enum Address.Type extends Enum<Address.Type>
Enum Constant and Description |
---|
PRIVATE
address that is not publicly routable.
|
PUBLIC
publically routable address
|
UNRECOGNIZED
the value returned by the OpenStack service was not recognized.
|
Modifier and Type | Method and Description |
---|---|
static Address.Type |
fromValue(String v) |
String |
value() |
static Address.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.Type PUBLIC
public static final Address.Type PRIVATE
public static final Address.Type UNRECOGNIZED
public static Address.Type[] values()
for (Address.Type c : Address.Type.values()) System.out.println(c);
public static Address.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 value()
public static Address.Type fromValue(String v)
Copyright © 2009-2012 jclouds. All Rights Reserved.