public static enum IpAddress.Status extends Enum<IpAddress.Status>
Enum Constant and Description |
---|
ASSIGNED |
AVAILABLE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static IpAddress.Status |
fromValue(String status) |
String |
toString() |
String |
value() |
static IpAddress.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpAddress.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpAddress.Status AVAILABLE
public static final IpAddress.Status ASSIGNED
public static final IpAddress.Status UNRECOGNIZED
public static IpAddress.Status[] values()
for (IpAddress.Status c : IpAddress.Status.values()) System.out.println(c);
public static IpAddress.Status 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<IpAddress.Status>
public static IpAddress.Status fromValue(String status)
Copyright © 2009-2012 jclouds. All Rights Reserved.