Partager via


DefaultConsistencyLevel Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.cosmos.models.DefaultConsistencyLevel

public enum DefaultConsistencyLevel
extends Enum<DefaultConsistencyLevel>

The default consistency level and configuration settings of the Cosmos DB account.

Fields

BOUNDED_STALENESS

Enum value BoundedStaleness.

CONSISTENT_PREFIX

Enum value ConsistentPrefix.

EVENTUAL

Enum value Eventual.

SESSION

Enum value Session.

STRONG

Enum value Strong.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static DefaultConsistencyLevel fromString(String value)

Parses a serialized value to a DefaultConsistencyLevel instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed DefaultConsistencyLevel object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static DefaultConsistencyLevel valueOf(String name)

Parameters

name
String

Returns

values()

public static DefaultConsistencyLevel[] values()

Returns

Applies to