java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertOperator>
com.azure.resourcemanager.costmanagement.models.AlertOperator

public final class AlertOperator extends com.azure.core.util.ExpandableStringEnum<AlertOperator>
operator used to compare currentSpend with amount.
  • Field Details

    • NONE

      public static final AlertOperator NONE
      Static value None for AlertOperator.
    • EQUAL_TO

      public static final AlertOperator EQUAL_TO
      Static value EqualTo for AlertOperator.
    • GREATER_THAN

      public static final AlertOperator GREATER_THAN
      Static value GreaterThan for AlertOperator.
    • GREATER_THAN_OR_EQUAL_TO

      public static final AlertOperator GREATER_THAN_OR_EQUAL_TO
      Static value GreaterThanOrEqualTo for AlertOperator.
    • LESS_THAN

      public static final AlertOperator LESS_THAN
      Static value LessThan for AlertOperator.
    • LESS_THAN_OR_EQUAL_TO

      public static final AlertOperator LESS_THAN_OR_EQUAL_TO
      Static value LessThanOrEqualTo for AlertOperator.
  • Constructor Details

    • AlertOperator

      @Deprecated public AlertOperator()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AlertOperator value.
  • Method Details

    • fromString

      public static AlertOperator fromString(String name)
      Creates or finds a AlertOperator from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AlertOperator.
    • values

      public static Collection<AlertOperator> values()
      Gets known AlertOperator values.
      Returns:
      known AlertOperator values.