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