Class MongoIndex
java.lang.Object
com.microsoft.azure.management.cosmosdb.MongoIndex
Cosmos DB MongoDB collection index key.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionkey()Get cosmos DB MongoDB collection index keys.options()Get cosmos DB MongoDB collection index key options.withKey(MongoIndexKeys key) Set cosmos DB MongoDB collection index keys.withOptions(MongoIndexOptions options) Set cosmos DB MongoDB collection index key options.
- 
Constructor Details- 
MongoIndexpublic MongoIndex()
 
- 
- 
Method Details- 
keyGet cosmos DB MongoDB collection index keys.- Returns:
- the key value
 
- 
withKeySet cosmos DB MongoDB collection index keys.- Parameters:
- key- the key value to set
- Returns:
- the MongoIndex object itself.
 
- 
optionsGet cosmos DB MongoDB collection index key options.- Returns:
- the options value
 
- 
withOptionsSet cosmos DB MongoDB collection index key options.- Parameters:
- options- the options value to set
- Returns:
- the MongoIndex object itself.
 
 
-