azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.documen...

78 строки
5.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.documentdb.AccessCondition"
fullName: "com.microsoft.azure.documentdb.AccessCondition"
name: "AccessCondition"
nameWithType: "AccessCondition"
summary: "Represents a set of access conditions to be used for operations against the Azure Cosmos DB database service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **AccessCondition**"
constructors:
- uid: "com.microsoft.azure.documentdb.AccessCondition.AccessCondition()"
fullName: "com.microsoft.azure.documentdb.AccessCondition.AccessCondition()"
name: "AccessCondition()"
nameWithType: "AccessCondition.AccessCondition()"
syntax: "public AccessCondition()"
methods:
- uid: "com.microsoft.azure.documentdb.AccessCondition.getCondition()"
fullName: "com.microsoft.azure.documentdb.AccessCondition.getCondition()"
name: "getCondition()"
nameWithType: "AccessCondition.getCondition()"
summary: "Gets the value of the condition - for Access<wbr>Condition<wbr>Type If<wbr>Matchs and If<wbr>Not<wbr>Match, this is the ETag that has to be compared to."
syntax: "public String getCondition()"
desc: "Gets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to be compared to."
returns:
description: "the condition."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.AccessCondition.getType()"
fullName: "com.microsoft.azure.documentdb.AccessCondition.getType()"
name: "getType()"
nameWithType: "AccessCondition.getType()"
summary: "Gets the condition type."
syntax: "public AccessConditionType getType()"
desc: "Gets the condition type."
returns:
description: "the condition type."
type: "<xref href=\"com.microsoft.azure.documentdb.AccessConditionType?alt=com.microsoft.azure.documentdb.AccessConditionType&text=AccessConditionType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.documentdb.AccessCondition.setCondition(java.lang.String)"
fullName: "com.microsoft.azure.documentdb.AccessCondition.setCondition(String condition)"
name: "setCondition(String condition)"
nameWithType: "AccessCondition.setCondition(String condition)"
summary: "Sets the value of the condition - for Access<wbr>Condition<wbr>Type If<wbr>Matchs and If<wbr>Not<wbr>Match, this is the ETag that has to be compared to."
parameters:
- description: "the condition to use."
name: "condition"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setCondition(String condition)"
desc: "Sets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to be compared to."
- uid: "com.microsoft.azure.documentdb.AccessCondition.setType(com.microsoft.azure.documentdb.AccessConditionType)"
fullName: "com.microsoft.azure.documentdb.AccessCondition.setType(AccessConditionType type)"
name: "setType(AccessConditionType type)"
nameWithType: "AccessCondition.setType(AccessConditionType type)"
summary: "Sets the condition type."
parameters:
- description: "the condition type to use."
name: "type"
type: "<xref href=\"com.microsoft.azure.documentdb.AccessConditionType?alt=com.microsoft.azure.documentdb.AccessConditionType&text=AccessConditionType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setType(AccessConditionType type)"
desc: "Sets the condition type."
type: "class"
desc: "Represents a set of access conditions to be used for operations against the Azure Cosmos DB database service."
metadata: {}
package: "com.microsoft.azure.documentdb"
artifact: com.microsoft.azure:azure-documentdb:2.4.7