public final class ClusterKey extends Object
| Constructor and Description |
|---|
ClusterKey() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: Name of the Cosmos DB Cassandra table cluster key.
|
String |
orderBy()
Get the orderBy property: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
|
void |
validate()
Validates the instance.
|
ClusterKey |
withName(String name)
Set the name property: Name of the Cosmos DB Cassandra table cluster key.
|
ClusterKey |
withOrderBy(String orderBy)
Set the orderBy property: Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
|
public String name()
public ClusterKey withName(String name)
name - the name value to set.public String orderBy()
public ClusterKey withOrderBy(String orderBy)
orderBy - the orderBy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.