azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

60 строки
4.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy"
fullName: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy"
name: "UniqueKeyPolicy"
nameWithType: "UniqueKeyPolicy"
summary: "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB 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 class **UniqueKeyPolicy**"
constructors:
- uid: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.UniqueKeyPolicy()"
fullName: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.UniqueKeyPolicy()"
name: "UniqueKeyPolicy()"
nameWithType: "UniqueKeyPolicy.UniqueKeyPolicy()"
syntax: "public UniqueKeyPolicy()"
methods:
- uid: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.uniqueKeys()"
fullName: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.uniqueKeys()"
name: "uniqueKeys()"
nameWithType: "UniqueKeyPolicy.uniqueKeys()"
summary: "Get list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service."
syntax: "public List<UniqueKey> uniqueKeys()"
desc: "Get list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service."
returns:
description: "the uniqueKeys value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.cosmosdb.UniqueKey?alt=com.microsoft.azure.management.cosmosdb.UniqueKey&text=UniqueKey\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.withUniqueKeys(java.util.List<com.microsoft.azure.management.cosmosdb.UniqueKey>)"
fullName: "com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy.withUniqueKeys(List<UniqueKey> uniqueKeys)"
name: "withUniqueKeys(List<UniqueKey> uniqueKeys)"
nameWithType: "UniqueKeyPolicy.withUniqueKeys(List<UniqueKey> uniqueKeys)"
summary: "Set list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service."
parameters:
- description: "the uniqueKeys value to set"
name: "uniqueKeys"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.cosmosdb.UniqueKey?alt=com.microsoft.azure.management.cosmosdb.UniqueKey&text=UniqueKey\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public UniqueKeyPolicy withUniqueKeys(List<UniqueKey> uniqueKeys)"
desc: "Set list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service."
returns:
description: "the UniqueKeyPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy?alt=com.microsoft.azure.management.cosmosdb.UniqueKeyPolicy&text=UniqueKeyPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service."
metadata: {}
package: "com.microsoft.azure.management.cosmosdb"
artifact: com.microsoft.azure:azure-mgmt-cosmosdb:1.41.4