Enum LoadBalancer.LifecycleState
- java.lang.Object
-
- java.lang.Enum<LoadBalancer.LifecycleState>
-
- com.oracle.bmc.loadbalancer.model.LoadBalancer.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LoadBalancer.LifecycleState>
- Enclosing class:
- LoadBalancer
public static enum LoadBalancer.LifecycleState extends Enum<LoadBalancer.LifecycleState> implements BmcEnum
The current state of the load balancer.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancer.LifecycleState
create(String key)
String
getValue()
static LoadBalancer.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoadBalancer.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final LoadBalancer.LifecycleState Creating
-
Failed
public static final LoadBalancer.LifecycleState Failed
-
Active
public static final LoadBalancer.LifecycleState Active
-
Deleting
public static final LoadBalancer.LifecycleState Deleting
-
Deleted
public static final LoadBalancer.LifecycleState Deleted
-
UnknownEnumValue
public static final LoadBalancer.LifecycleState UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static LoadBalancer.LifecycleState[] 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 (LoadBalancer.LifecycleState c : LoadBalancer.LifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancer.LifecycleState 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
-
create
public static LoadBalancer.LifecycleState create(String key)
-
-