Class CassandraPartitionKey


  • public final class CassandraPartitionKey
    extends Object
    Cosmos DB Cassandra table partition key.
    • Constructor Detail

      • CassandraPartitionKey

        public CassandraPartitionKey()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the Cosmos DB Cassandra table partition key.
        Returns:
        the name value.
      • withName

        public CassandraPartitionKey withName​(String name)
        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.