public class CosmosStoredProcedureRequestOptions extends Object
Constructor and Description |
---|
CosmosStoredProcedureRequestOptions() |
Modifier and Type | Method and Description |
---|---|
AccessCondition |
getAccessCondition()
Gets the conditions associated with the request.
|
ConsistencyLevel |
getConsistencyLevel()
Gets the consistency level required for the request.
|
PartitionKey |
getPartitionKey()
Gets the partition key used to identify the current request's target partition.
|
String |
getSessionToken()
Gets the token for use with session consistency.
|
CosmosStoredProcedureRequestOptions |
setAccessCondition(AccessCondition accessCondition)
Sets the conditions associated with the request.
|
CosmosStoredProcedureRequestOptions |
setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
CosmosStoredProcedureRequestOptions |
setPartitionKey(PartitionKey partitionKey)
Sets the partition key used to identify the current request's target partition.
|
CosmosStoredProcedureRequestOptions |
setSessionToken(String sessionToken)
Sets the token for use with session consistency.
|
public AccessCondition getAccessCondition()
public CosmosStoredProcedureRequestOptions setAccessCondition(AccessCondition accessCondition)
accessCondition
- the access condition.public ConsistencyLevel getConsistencyLevel()
public CosmosStoredProcedureRequestOptions setConsistencyLevel(ConsistencyLevel consistencyLevel)
consistencyLevel
- the consistency level.public PartitionKey getPartitionKey()
public CosmosStoredProcedureRequestOptions setPartitionKey(PartitionKey partitionKey)
partitionKey
- the partition key value.public String getSessionToken()
public CosmosStoredProcedureRequestOptions setSessionToken(String sessionToken)
sessionToken
- the session token.Copyright © 2020 Microsoft Corporation. All rights reserved.