Enum BackendSetHealth.Status
- java.lang.Object
-
- java.lang.Enum<BackendSetHealth.Status>
-
- com.oracle.bmc.loadbalancer.model.BackendSetHealth.Status
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<BackendSetHealth.Status>
- Enclosing class:
- BackendSetHealth
public static enum BackendSetHealth.Status extends Enum<BackendSetHealth.Status> implements BmcEnum
Overall health status of the backend set.**OK:** All backend servers in the backend set return a status of OK.
**WARNING:** Half or more of the backend set's backend servers return a status of OK and at least one backend server returns a status of WARNING, CRITICAL, or UNKNOWN.
**CRITICAL:** Fewer than half of the backend set's backend servers return a status of OK.
**UNKNOWN:** More than half of the backend set's backend servers return a status of UNKNOWN, the system was unable to retrieve metrics, or the backend set does not have a listener attached.
-
-
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 BackendSetHealth.Status
create(String key)
String
getValue()
static BackendSetHealth.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackendSetHealth.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 BackendSetHealth.Status Ok
-
Warning
public static final BackendSetHealth.Status Warning
-
Critical
public static final BackendSetHealth.Status Critical
-
Unknown
public static final BackendSetHealth.Status Unknown
-
UnknownEnumValue
public static final BackendSetHealth.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 BackendSetHealth.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 (BackendSetHealth.Status c : BackendSetHealth.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 BackendSetHealth.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 BackendSetHealth.Status create(String key)
-
-