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