Freigeben über


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