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

public final class AlertSource extends com.azure.core.util.ExpandableStringEnum<AlertSource>
Source of alert.
  • Field Details

    • PRESET

      public static final AlertSource PRESET
      Static value Preset for AlertSource.
    • USER

      public static final AlertSource USER
      Static value User for AlertSource.
  • Constructor Details

    • AlertSource

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

    • fromString

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

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