Class UniqueKey

java.lang.Object
com.microsoft.azure.management.cosmosdb.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 Details

    • UniqueKey

      public UniqueKey()
  • Method Details

    • 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.