PriorityLevel Class
- java.
lang. Object - com.
azure. cosmos. models. PriorityLevel
- com.
public final class PriorityLevel
Enumeration specifying Priority Level of requests
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Priority |
HIGH
High Priority level |
static final
Priority |
LOW
Low Priority level |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
static
Priority |
fromString(String name)
Gets the corresponding priority level from its string representation. |
int | hashCode() |
String | toString() |
Methods inherited from java.lang.Object
Field Details
HIGH
public static final PriorityLevel HIGH
High Priority level
LOW
public static final PriorityLevel LOW
Low Priority level
Method Details
equals
public boolean equals(Object obj)
Overrides:
PriorityLevel.equals(Object obj)Parameters:
obj
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.
hashCode
public int hashCode()
Overrides:
PriorityLevel.hashCode()toString
public String toString()
Overrides:
PriorityLevel.toString()Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.