public static enum BackendHealth.Status extends Enum<BackendHealth.Status> implements BmcEnum
The general health status of the specified backend server.
**OK:** All health check probes return OK
**WARNING:** At least one of the health check probes does not return OK
**CRITICAL:** None of the health check probes return OK
. * * **UNKNOWN:** One of
the health checks probes return UNKNOWN
, * or the system is 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.