Class ClusterKey
java.lang.Object
com.microsoft.azure.management.cosmosdb.ClusterKey
Cosmos DB Cassandra table cluster key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get name of the Cosmos DB Cassandra table cluster key.orderBy()
Get order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".Set name of the Cosmos DB Cassandra table cluster key.withOrderBy
(String orderBy) Set order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
-
Constructor Details
-
ClusterKey
public ClusterKey()
-
-
Method Details
-
name
Get name of the Cosmos DB Cassandra table cluster key.- Returns:
- the name value
-
withName
Set name of the Cosmos DB Cassandra table cluster key.- Parameters:
name
- the name value to set- Returns:
- the ClusterKey object itself.
-
orderBy
Get order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".- Returns:
- the orderBy value
-
withOrderBy
Set order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".- Parameters:
orderBy
- the orderBy value to set- Returns:
- the ClusterKey object itself.
-