public final class MongoIndexKeys extends Object
| Constructor and Description |
|---|
MongoIndexKeys() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
keys()
Get the keys property: List of keys for each MongoDB collection in the Azure Cosmos DB service.
|
void |
validate()
Validates the instance.
|
MongoIndexKeys |
withKeys(List<String> keys)
Set the keys property: List of keys for each MongoDB collection in the Azure Cosmos DB service.
|
public List<String> keys()
public MongoIndexKeys withKeys(List<String> keys)
keys - the keys value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.