public static enum ListAlarmSuppressionsRequest.TargetType extends Enum<ListAlarmSuppressionsRequest.TargetType> implements BmcEnum
The target type to use when listing alarm suppressions. ALARM
lists all suppression
records for the specified alarm. COMPARTMENT
lists all suppression records for the
specified compartment or tenancy.
Enum Constant and Description |
---|
Alarm |
Compartment |
Modifier and Type | Method and Description |
---|---|
static ListAlarmSuppressionsRequest.TargetType |
create(String key) |
String |
getValue() |
static ListAlarmSuppressionsRequest.TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAlarmSuppressionsRequest.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAlarmSuppressionsRequest.TargetType Alarm
public static final ListAlarmSuppressionsRequest.TargetType Compartment
public static ListAlarmSuppressionsRequest.TargetType[] values()
for (ListAlarmSuppressionsRequest.TargetType c : ListAlarmSuppressionsRequest.TargetType.values()) System.out.println(c);
public static ListAlarmSuppressionsRequest.TargetType 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 ListAlarmSuppressionsRequest.TargetType create(String key)
Copyright © 2016–2024. All rights reserved.