Enum LbOperatingStatus
- java.lang.Object
-
- java.lang.Enum<LbOperatingStatus>
-
- org.openstack4j.model.network.ext.LbOperatingStatus
-
- All Implemented Interfaces:
Serializable,Comparable<LbOperatingStatus>
public enum LbOperatingStatus extends Enum<LbOperatingStatus>
Operating status of a load balancer v2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LbOperatingStatusforValue(String value)static LbOperatingStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static LbOperatingStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE
public static final LbOperatingStatus ONLINE
-
OFFLINE
public static final LbOperatingStatus OFFLINE
-
-
Method Detail
-
values
public static LbOperatingStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LbOperatingStatus c : LbOperatingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LbOperatingStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forValue
public static LbOperatingStatus forValue(String value)
-
-