public static enum BackendHealth.Status extends Enum<BackendHealth.Status> implements BmcEnum
The general health status of the specified backend server as reported by the primary and standby load balancers.
**OK:** Both health checks returned OK
.
**WARNING:** One health check returned OK
and one did not.
**CRITICAL:** Neither health check returned OK
.
**UNKNOWN:** One or both health checks returned UNKNOWN
, or the system was unable
to retrieve metrics at this time.
Enum Constant and 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 |
Modifier and Type | Method and Description |
---|---|
static BackendHealth.Status |
create(String key) |
String |
getValue() |
static BackendHealth.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackendHealth.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackendHealth.Status Ok
public static final BackendHealth.Status Warning
public static final BackendHealth.Status Critical
public static final BackendHealth.Status Unknown
public static final BackendHealth.Status UnknownEnumValue
public static BackendHealth.Status[] values()
for (BackendHealth.Status c : BackendHealth.Status.values()) System.out.println(c);
public static BackendHealth.Status 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 static BackendHealth.Status create(String key)
Copyright © 2016–2024. All rights reserved.