Class UniqueKey


  • public class UniqueKey
    extends Object
    The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
    • Constructor Detail

      • UniqueKey

        public UniqueKey()
    • Method Detail

      • paths

        public List<String> paths()
        Get list of paths must be unique for each document in the Azure Cosmos DB service.
        Returns:
        the paths value
      • withPaths

        public UniqueKey withPaths​(List<String> paths)
        Set list of paths must be unique for each document in the Azure Cosmos DB service.
        Parameters:
        paths - the paths value to set
        Returns:
        the UniqueKey object itself.