Class ClusterKey
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.ClusterKey
-
public class ClusterKey extends Object
Cosmos DB Cassandra table cluster key.
-
-
Constructor Summary
Constructors Constructor Description ClusterKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get name of the Cosmos DB Cassandra table cluster key.StringorderBy()Get order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".ClusterKeywithName(String name)Set name of the Cosmos DB Cassandra table cluster key.ClusterKeywithOrderBy(String orderBy)Set order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
-
-
-
Method Detail
-
name
public String name()
Get name of the Cosmos DB Cassandra table cluster key.- Returns:
- the name value
-
withName
public ClusterKey withName(String name)
Set name of the Cosmos DB Cassandra table cluster key.- Parameters:
name- the name value to set- Returns:
- the ClusterKey object itself.
-
orderBy
public String orderBy()
Get order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".- Returns:
- the orderBy value
-
withOrderBy
public ClusterKey withOrderBy(String orderBy)
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.
-
-