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