@Generated(value="software.amazon.awssdk:codegen") public enum AlarmType extends Enum<AlarmType>
| Enum Constant and Description |
|---|
CANARY |
COMPOSITE |
EVENT |
LOGS |
METRIC |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static AlarmType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<AlarmType> |
knownValues()
|
String |
toString() |
static AlarmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmType METRIC
public static final AlarmType COMPOSITE
public static final AlarmType CANARY
public static final AlarmType LOGS
public static final AlarmType EVENT
public static final AlarmType UNKNOWN_TO_SDK_VERSION
public static AlarmType[] values()
for (AlarmType c : AlarmType.values()) System.out.println(c);
public static AlarmType 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 AlarmType fromValue(String value)
value - real valueCopyright © 2021. All rights reserved.