Class UniqueKeyPolicy


  • public class UniqueKeyPolicy
    extends JsonSerializable
    Represents the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
    • Constructor Detail

      • UniqueKeyPolicy

        public UniqueKeyPolicy()
    • Method Detail

      • uniqueKeys

        public Collection<UniqueKey> uniqueKeys()
        Gets or sets collection of UniqueKey that guarantee uniqueness of documents in collection in the Azure Cosmos DB service.
        Returns:
        the unique keys.