@Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public enum Health extends Enum<Health> implements BmcEnum
The current health of the resource
Enum Constant and Description |
---|
Alert |
Protected |
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 Health |
create(String key) |
String |
getValue() |
static Health |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Health[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Health Protected
public static final Health Warning
public static final Health Alert
public static final Health UnknownEnumValue
public static Health[] values()
for (Health c : Health.values()) System.out.println(c);
public static Health 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 nullCopyright © 2016–2024. All rights reserved.