Class Column


  • public final class Column
    extends Object
    Cosmos DB Cassandra table column.
    • Constructor Detail

      • Column

        public Column()
    • Method Detail

      • name

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

        public Column withName​(String name)
        Set the name property: Name of the Cosmos DB Cassandra table column.
        Parameters:
        name - the name value to set.
        Returns:
        the Column object itself.
      • type

        public String type()
        Get the type property: Type of the Cosmos DB Cassandra table column.
        Returns:
        the type value.
      • withType

        public Column withType​(String type)
        Set the type property: Type of the Cosmos DB Cassandra table column.
        Parameters:
        type - the type value to set.
        Returns:
        the Column object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.