Class AlertOperator
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertOperator>
com.azure.resourcemanager.costmanagement.models.AlertOperator
operator used to compare currentSpend with amount.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AlertOperator
Static value EqualTo for AlertOperator.static final AlertOperator
Static value GreaterThan for AlertOperator.static final AlertOperator
Static value GreaterThanOrEqualTo for AlertOperator.static final AlertOperator
Static value LessThan for AlertOperator.static final AlertOperator
Static value LessThanOrEqualTo for AlertOperator.static final AlertOperator
Static value None for AlertOperator. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlertOperator
fromString
(String name) Creates or finds a AlertOperator from its string representation.static Collection<AlertOperator>
values()
Gets known AlertOperator values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NONE
Static value None for AlertOperator. -
EQUAL_TO
Static value EqualTo for AlertOperator. -
GREATER_THAN
Static value GreaterThan for AlertOperator. -
GREATER_THAN_OR_EQUAL_TO
Static value GreaterThanOrEqualTo for AlertOperator. -
LESS_THAN
Static value LessThan for AlertOperator. -
LESS_THAN_OR_EQUAL_TO
Static value LessThanOrEqualTo for AlertOperator.
-
-
Constructor Details
-
AlertOperator
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AlertOperator value.
-
-
Method Details
-
fromString
Creates or finds a AlertOperator from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AlertOperator.
-
values
Gets known AlertOperator values.- Returns:
- known AlertOperator values.
-
fromString(String)
factory method.