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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java