public class ContainerPartitionKey extends Object
| Constructor and Description |
|---|
ContainerPartitionKey() |
| Modifier and Type | Method and Description |
|---|---|
PartitionKind |
kind()
Get indicates the kind of algorithm used for partitioning.
|
List<String> |
paths()
Get list of paths using which data within the container can be partitioned.
|
Integer |
version()
Get indicates the version of the partition key definition.
|
ContainerPartitionKey |
withKind(PartitionKind kind)
Set indicates the kind of algorithm used for partitioning.
|
ContainerPartitionKey |
withPaths(List<String> paths)
Set list of paths using which data within the container can be partitioned.
|
ContainerPartitionKey |
withVersion(Integer version)
Set indicates the version of the partition key definition.
|
public List<String> paths()
public ContainerPartitionKey withPaths(List<String> paths)
paths - the paths value to setpublic PartitionKind kind()
public ContainerPartitionKey withKind(PartitionKind kind)
kind - the kind value to setpublic Integer version()
public ContainerPartitionKey withVersion(Integer version)
version - the version value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/