@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.270Z") @Stability(value=Stable) public enum OpsItemSeverity extends Enum<OpsItemSeverity>
Example:
Alarm alarm; // Create an OpsItem with specific severity and category when alarm triggers alarm.addAlarmAction( new SsmAction(OpsItemSeverity.CRITICAL, OpsItemCategory.PERFORMANCE));
| Enum Constant and Description |
|---|
CRITICAL
Set the severity to critical.
|
HIGH
Set the severity to high.
|
LOW
Set the severity to low.
|
MEDIUM
Set the severity to medium.
|
| Modifier and Type | Method and Description |
|---|---|
static OpsItemSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpsItemSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final OpsItemSeverity CRITICAL
@Stability(value=Stable) public static final OpsItemSeverity HIGH
@Stability(value=Stable) public static final OpsItemSeverity MEDIUM
@Stability(value=Stable) public static final OpsItemSeverity LOW
public static OpsItemSeverity[] values()
for (OpsItemSeverity c : OpsItemSeverity.values()) System.out.println(c);
public static OpsItemSeverity 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 © 2022. All rights reserved.