Enum ComparisonOperationType
- java.lang.Object
-
- java.lang.Enum<ComparisonOperationType>
-
- com.azure.resourcemanager.monitor.models.ComparisonOperationType
-
- All Implemented Interfaces:
Serializable,Comparable<ComparisonOperationType>
public enum ComparisonOperationType extends Enum<ComparisonOperationType>
Defines values for ComparisonOperationType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSEnum value Equals.GREATER_THANEnum value GreaterThan.GREATER_THAN_OR_EQUALEnum value GreaterThanOrEqual.LESS_THANEnum value LessThan.LESS_THAN_OR_EQUALEnum value LessThanOrEqual.NOT_EQUALSEnum value NotEquals.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComparisonOperationTypefromString(String value)Parses a serialized value to a ComparisonOperationType instance.StringtoString()static ComparisonOperationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ComparisonOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ComparisonOperationType EQUALS
Enum value Equals.
-
NOT_EQUALS
public static final ComparisonOperationType NOT_EQUALS
Enum value NotEquals.
-
GREATER_THAN
public static final ComparisonOperationType GREATER_THAN
Enum value GreaterThan.
-
GREATER_THAN_OR_EQUAL
public static final ComparisonOperationType GREATER_THAN_OR_EQUAL
Enum value GreaterThanOrEqual.
-
LESS_THAN
public static final ComparisonOperationType LESS_THAN
Enum value LessThan.
-
LESS_THAN_OR_EQUAL
public static final ComparisonOperationType LESS_THAN_OR_EQUAL
Enum value LessThanOrEqual.
-
-
Method Detail
-
values
public static ComparisonOperationType[] 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 (ComparisonOperationType c : ComparisonOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComparisonOperationType 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
-
fromString
public static ComparisonOperationType fromString(String value)
Parses a serialized value to a ComparisonOperationType instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed ComparisonOperationType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<ComparisonOperationType>
-
-