Class CassandraPartitionKey
java.lang.Object
com.azure.resourcemanager.cosmos.models.CassandraPartitionKey
Cosmos DB Cassandra table partition key.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CassandraPartitionKey
public CassandraPartitionKey()Creates an instance of CassandraPartitionKey class.
-
-
Method Details
-
name
Get the name property: Name of the Cosmos DB Cassandra table partition key.- Returns:
- the name value.
-
withName
Set the name property: Name of the Cosmos DB Cassandra table partition key.- Parameters:
name- the name value to set.- Returns:
- the CassandraPartitionKey object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-