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