@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.270Z") @Stability(value=Stable) public enum OpsItemCategory extends Enum<OpsItemCategory>
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 |
|---|
AVAILABILITY
Set the category to availability.
|
COST
Set the category to cost.
|
PERFORMANCE
Set the category to performance.
|
RECOVERY
Set the category to recovery.
|
SECURITY
Set the category to security.
|
| Modifier and Type | Method and Description |
|---|---|
static OpsItemCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpsItemCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final OpsItemCategory AVAILABILITY
@Stability(value=Stable) public static final OpsItemCategory COST
@Stability(value=Stable) public static final OpsItemCategory PERFORMANCE
@Stability(value=Stable) public static final OpsItemCategory RECOVERY
@Stability(value=Stable) public static final OpsItemCategory SECURITY
public static OpsItemCategory[] values()
for (OpsItemCategory c : OpsItemCategory.values()) System.out.println(c);
public static OpsItemCategory 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.