Enum LoadBalancerHealth.Status
- java.lang.Object
-
- java.lang.Enum<LoadBalancerHealth.Status>
-
- com.oracle.bmc.loadbalancer.model.LoadBalancerHealth.Status
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LoadBalancerHealth.Status>
- Enclosing class:
- LoadBalancerHealth
public static enum LoadBalancerHealth.Status extends Enum<LoadBalancerHealth.Status> implements BmcEnum
The overall health status of the load balancer.**OK:** All backend sets associated with the load balancer return a status of OK.
**WARNING:** At least one of the backend sets associated with the load balancer returns a status of WARNING, no backend sets return a status of CRITICAL, and the load balancer life cycle state is ACTIVE.
**CRITICAL:** One or more of the backend sets associated with the load balancer return a status of CRITICAL.
**UNKNOWN:** If any one of the following conditions is true:
The load balancer life cycle state is not ACTIVE.
No backend sets are defined for the load balancer.
More than half of the backend sets associated with the load balancer return a status of UNKNOWN, none of the backend sets return a status of WARNING or CRITICAL, and the load balancer life cycle state is ACTIVE.
The system could not retrieve metrics for any reason.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Critical
Ok
Unknown
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Warning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancerHealth.Status
create(String key)
String
getValue()
static LoadBalancerHealth.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoadBalancerHealth.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ok
public static final LoadBalancerHealth.Status Ok
-
Warning
public static final LoadBalancerHealth.Status Warning
-
Critical
public static final LoadBalancerHealth.Status Critical
-
Unknown
public static final LoadBalancerHealth.Status Unknown
-
UnknownEnumValue
public static final LoadBalancerHealth.Status 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 LoadBalancerHealth.Status[] 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 (LoadBalancerHealth.Status c : LoadBalancerHealth.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancerHealth.Status 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 LoadBalancerHealth.Status create(String key)
-
-