Annotation Type CosmosUniqueKeyPolicy
-
@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface CosmosUniqueKeyPolicy
Represents the unique key policy configuration for specifying uniqueness constraints on items in the container in the Azure Cosmos DB service.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description CosmosUniqueKey[]uniqueKeysSet of unique keys which enforce uniqueness constraint on items in the container in the Azure Cosmos DB service.
-
-
-
Element Detail
-
uniqueKeys
CosmosUniqueKey[] uniqueKeys
Set of unique keys which enforce uniqueness constraint on items in the container in the Azure Cosmos DB service.- Returns:
- unique keys
- Default:
- {}
-
-