Enum GetAlarmHistoryRequest.AlarmHistorytype
- java.lang.Object
-
- java.lang.Enum<GetAlarmHistoryRequest.AlarmHistorytype>
-
- com.oracle.bmc.monitoring.requests.GetAlarmHistoryRequest.AlarmHistorytype
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetAlarmHistoryRequest.AlarmHistorytype>
- Enclosing class:
- GetAlarmHistoryRequest
public static enum GetAlarmHistoryRequest.AlarmHistorytype extends Enum<GetAlarmHistoryRequest.AlarmHistorytype> implements BmcEnum
The type of history entries to retrieve.State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). If not specified, entries of all types are retrieved.
Example: STATE_HISTORY
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RuleHistory
RuleTransitionHistory
StateHistory
StateTransitionHistory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAlarmHistoryRequest.AlarmHistorytype
create(String key)
String
getValue()
static GetAlarmHistoryRequest.AlarmHistorytype
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetAlarmHistoryRequest.AlarmHistorytype[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
StateHistory
public static final GetAlarmHistoryRequest.AlarmHistorytype StateHistory
-
StateTransitionHistory
public static final GetAlarmHistoryRequest.AlarmHistorytype StateTransitionHistory
-
RuleHistory
public static final GetAlarmHistoryRequest.AlarmHistorytype RuleHistory
-
RuleTransitionHistory
public static final GetAlarmHistoryRequest.AlarmHistorytype RuleTransitionHistory
-
-
Method Detail
-
values
public static GetAlarmHistoryRequest.AlarmHistorytype[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GetAlarmHistoryRequest.AlarmHistorytype c : GetAlarmHistoryRequest.AlarmHistorytype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetAlarmHistoryRequest.AlarmHistorytype valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static GetAlarmHistoryRequest.AlarmHistorytype create(String key)
-
-