public class UniqueKeyPolicy extends Object
| Constructor and Description |
|---|
UniqueKeyPolicy() |
| Modifier and Type | Method and Description |
|---|---|
List<UniqueKey> |
uniqueKeys()
Get list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
|
UniqueKeyPolicy |
withUniqueKeys(List<UniqueKey> uniqueKeys)
Set list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
|
public List<UniqueKey> uniqueKeys()
public UniqueKeyPolicy withUniqueKeys(List<UniqueKey> uniqueKeys)
uniqueKeys - the uniqueKeys value to setCopyright © 2019. All rights reserved.