Class Column
java.lang.Object
com.azure.resourcemanager.cosmos.models.Column
Cosmos DB Cassandra table column.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name of the Cosmos DB Cassandra table column.type()Get the type property: Type of the Cosmos DB Cassandra table column.voidvalidate()Validates the instance.Set the name property: Name of the Cosmos DB Cassandra table column.Set the type property: Type of the Cosmos DB Cassandra table column.
-
Constructor Details
-
Column
public Column()Creates an instance of Column class.
-
-
Method Details
-
name
Get the name property: Name of the Cosmos DB Cassandra table column.- Returns:
- the name value.
-
withName
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
Get the type property: Type of the Cosmos DB Cassandra table column.- Returns:
- the type value.
-
withType
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.
-