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