Class MongoIndex
java.lang.Object
com.microsoft.azure.management.cosmosdb.MongoIndex
Cosmos DB MongoDB collection index key.
-
Constructor Summary
-
Method Summary
Modifier 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
-
MongoIndex
public MongoIndex()
-
-
Method Details
-
key
Get cosmos DB MongoDB collection index keys.- Returns:
- the key value
-
withKey
Set cosmos DB MongoDB collection index keys.- Parameters:
key
- the key value to set- Returns:
- the MongoIndex object itself.
-
options
Get cosmos DB MongoDB collection index key options.- Returns:
- the options value
-
withOptions
Set cosmos DB MongoDB collection index key options.- Parameters:
options
- the options value to set- Returns:
- the MongoIndex object itself.
-