@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:02.452Z") @Stability(value=Experimental) 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
(experimental) Set the category to availability.
|
COST
(experimental) Set the category to cost.
|
PERFORMANCE
(experimental) Set the category to performance.
|
RECOVERY
(experimental) Set the category to recovery.
|
SECURITY
(experimental) 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=Experimental) public static final OpsItemCategory AVAILABILITY
@Stability(value=Experimental) public static final OpsItemCategory COST
@Stability(value=Experimental) public static final OpsItemCategory PERFORMANCE
@Stability(value=Experimental) public static final OpsItemCategory RECOVERY
@Stability(value=Experimental) 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.