Class PriorityLevel

java.lang.Object
com.azure.cosmos.models.PriorityLevel

public final class PriorityLevel extends Object
Enumeration specifying Priority Level of requests
  • Field Details

    • HIGH

      public static final PriorityLevel HIGH
      High Priority level
    • LOW

      public static final PriorityLevel LOW
      Low Priority level
  • Method Details

    • fromString

      public static PriorityLevel fromString(String name)
      Gets the corresponding priority level from its string representation.
      Parameters:
      name - The name of the Cosmos priority level to convert.
      Returns:
      The corresponding Cosmos priority level.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object