Package ej.aws.iot
Enum ShadowAction
- java.lang.Object
-
- java.lang.Enum<ShadowAction>
-
- ej.aws.iot.ShadowAction
-
- All Implemented Interfaces:
Serializable,Comparable<ShadowAction>
public enum ShadowAction extends Enum<ShadowAction>
Shadow possible actions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShadowActionvalueOf(String name)Returns the enum constant of this type with the specified name.static ShadowAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
get
public static final ShadowAction get
-
update
public static final ShadowAction update
-
delete
public static final ShadowAction delete
-
-
Method Detail
-
values
public static ShadowAction[] 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 (ShadowAction c : ShadowAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShadowAction 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
-
-