public static enum Subnet.State extends Enum<Subnet.State>
Enum Constant and Description |
---|
AVAILABLE
The subnet is available for use.
|
PENDING
The subnet is not yet available for use.
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Subnet.State |
fromValue(String v) |
String |
value() |
static Subnet.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subnet.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subnet.State AVAILABLE
public static final Subnet.State PENDING
public static final Subnet.State UNRECOGNIZED
public static Subnet.State[] values()
for (Subnet.State c : Subnet.State.values()) System.out.println(c);
public static Subnet.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 value()
public static Subnet.State fromValue(String v)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.