Enum RuleOperator
- java.lang.Object
-
- java.lang.Enum<RuleOperator>
-
- com.amazonaws.services.devicefarm.model.RuleOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<RuleOperator>
public enum RuleOperator extends Enum<RuleOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALS
GREATER_THAN
IN
LESS_THAN
NOT_IN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleOperator
fromValue(String value)
Use this in place of valueOf.String
toString()
static RuleOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuleOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final RuleOperator EQUALS
-
LESS_THAN
public static final RuleOperator LESS_THAN
-
GREATER_THAN
public static final RuleOperator GREATER_THAN
-
IN
public static final RuleOperator IN
-
NOT_IN
public static final RuleOperator NOT_IN
-
-
Method Detail
-
values
public static RuleOperator[] 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 (RuleOperator c : RuleOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleOperator 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<RuleOperator>
-
fromValue
public static RuleOperator fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- RuleOperator corresponding to the value
-
-