java.lang.Object
com.azure.core.util.ExpandableStringEnum<SortOrder>
com.azure.resourcemanager.alertsmanagement.models.SortOrder

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

    Fields
    Modifier and Type
    Field
    Description
    static final SortOrder
    Static value asc for SortOrder.
    static final SortOrder
    Static value desc for SortOrder.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static SortOrder
    Creates or finds a SortOrder from its string representation.
    Gets known SortOrder values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ASC

      public static final SortOrder ASC
      Static value asc for SortOrder.
    • DESC

      public static final SortOrder DESC
      Static value desc for SortOrder.
  • Constructor Details

    • SortOrder

      public SortOrder()
  • Method Details

    • fromString

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

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