Class AlertSeverity


  • public final class AlertSeverity
    extends com.azure.core.util.ExpandableStringEnum<AlertSeverity>
    Defines values for AlertSeverity.
    • Field Detail

      • ZERO

        public static final AlertSeverity ZERO
        Static value 0 for AlertSeverity.
      • ONE

        public static final AlertSeverity ONE
        Static value 1 for AlertSeverity.
      • TWO

        public static final AlertSeverity TWO
        Static value 2 for AlertSeverity.
      • THREE

        public static final AlertSeverity THREE
        Static value 3 for AlertSeverity.
      • FOUR

        public static final AlertSeverity FOUR
        Static value 4 for AlertSeverity.
    • Constructor Detail

      • AlertSeverity

        public AlertSeverity()
    • Method Detail

      • fromString

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