Modifier and Type | Method and Description |
---|---|
static ConsistencyLevel |
ConsistencyLevel.fromServiceSerializedFormat(String consistencyLevel)
Given the over wire version of ConsistencyLevel gives the corresponding enum or return null
|
ConsistencyLevel |
CosmosClientBuilder.getConsistencyLevel()
Gets the
ConsistencyLevel to be used |
ConsistencyLevel |
CosmosContainerRequestOptions.getConsistencyLevel()
Gets the consistency level required for the request.
|
ConsistencyLevel |
CosmosStoredProcedureRequestOptions.getConsistencyLevel()
Gets the consistency level required for the request.
|
ConsistencyLevel |
CosmosItemRequestOptions.getConsistencyLevel()
Gets the consistency level required for the request.
|
ConsistencyLevel |
ConsistencyPolicy.getDefaultConsistencyLevel()
Get the name of the resource.
|
static ConsistencyLevel |
ConsistencyLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistencyLevel[] |
ConsistencyLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CosmosClientBuilder |
CosmosClientBuilder.setConsistencyLevel(ConsistencyLevel desiredConsistencyLevel)
Sets the
ConsistencyLevel to be used |
CosmosContainerRequestOptions |
CosmosContainerRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
CosmosStoredProcedureRequestOptions |
CosmosStoredProcedureRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
ConsistencyPolicy |
ConsistencyPolicy.setDefaultConsistencyLevel(ConsistencyLevel level)
Set the name of the resource.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.