你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PriorityLevel Class

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

public final class PriorityLevel

Enumeration specifying Priority Level of requests

Field Summary

Modifier and Type Field and Description
static final PriorityLevel HIGH

High Priority level

static final PriorityLevel LOW

Low Priority level

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
static PriorityLevel 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