AccessCondition 类

定义

Represents a set of access conditions to be used for operations against the Azure Cosmos DB database service.

public class AccessCondition
继承
java.lang.Object
AccessCondition

方法

getCondition()

Gets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to be compared to.

getType()

Gets the condition type.

setCondition(String condition)

Sets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to be compared to.

setType(AccessConditionType type)

Sets the condition type.

适用于