Class MongoIndexKeys
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.MongoIndexKeys
-
public class MongoIndexKeys extends Object
Cosmos DB Mongo collection resource object.
-
-
Constructor Summary
Constructors Constructor Description MongoIndexKeys()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>keys()Get list of keys for each Mongo collection in the Azure Cosmos DB service.MongoIndexKeyswithKeys(List<String> keys)Set list of keys for each Mongo collection in the Azure Cosmos DB service.
-
-
-
Method Detail
-
keys
public List<String> keys()
Get list of keys for each Mongo collection in the Azure Cosmos DB service.- Returns:
- the keys value
-
withKeys
public MongoIndexKeys withKeys(List<String> keys)
Set list of keys for each Mongo collection in the Azure Cosmos DB service.- Parameters:
keys- the keys value to set- Returns:
- the MongoIndexKeys object itself.
-
-