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