public enum PublicIPStatus extends Enum<PublicIPStatus>
An attached public IP address is enabled for a particular virtual system and or may not be mapped to a virtual server.
Enum Constant and Description |
---|
ATTACHED |
ATTACHING |
DETACHED |
DETACHING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static PublicIPStatus |
fromValue(String status) |
String |
toString() |
String |
value() |
static PublicIPStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicIPStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicIPStatus ATTACHED
public static final PublicIPStatus ATTACHING
public static final PublicIPStatus DETACHING
public static final PublicIPStatus DETACHED
public static final PublicIPStatus UNRECOGNIZED
public static PublicIPStatus[] values()
for (PublicIPStatus c : PublicIPStatus.values()) System.out.println(c);
public static PublicIPStatus 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<PublicIPStatus>
public static PublicIPStatus fromValue(String status)
Copyright © 2009-2013 jclouds. All Rights Reserved.