com.baidubce.services.dugo.alarm
Enum AlarmCreateRequest.AlarmTypeInfo.UnitType
java.lang.Object
java.lang.Enum<AlarmCreateRequest.AlarmTypeInfo.UnitType>
com.baidubce.services.dugo.alarm.AlarmCreateRequest.AlarmTypeInfo.UnitType
- All Implemented Interfaces:
- Serializable, Comparable<AlarmCreateRequest.AlarmTypeInfo.UnitType>
- Enclosing class:
- AlarmCreateRequest.AlarmTypeInfo
public static enum AlarmCreateRequest.AlarmTypeInfo.UnitType
- extends Enum<AlarmCreateRequest.AlarmTypeInfo.UnitType>
SECOND
public static final AlarmCreateRequest.AlarmTypeInfo.UnitType SECOND
values
public static AlarmCreateRequest.AlarmTypeInfo.UnitType[] 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 (AlarmCreateRequest.AlarmTypeInfo.UnitType c : AlarmCreateRequest.AlarmTypeInfo.UnitType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AlarmCreateRequest.AlarmTypeInfo.UnitType 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 name
NullPointerException - if the argument is null
getType
public String getType()
Copyright © 2020. All rights reserved.