Class Column
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.Column
-
public final class Column extends Object
Cosmos DB Cassandra table column.
-
-
Constructor Summary
Constructors Constructor Description Column()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Name of the Cosmos DB Cassandra table column.Stringtype()Get the type property: Type of the Cosmos DB Cassandra table column.voidvalidate()Validates the instance.ColumnwithName(String name)Set the name property: Name of the Cosmos DB Cassandra table column.ColumnwithType(String type)Set the type property: Type of the Cosmos DB Cassandra table 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.
-
-