Column Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. Column
- com.
Implements
public final class Column
implements JsonSerializable<Column>
Cosmos DB Cassandra table column.
Constructor Summary
Constructor | Description |
---|---|
Column() |
Creates an instance of Column class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Column |
fromJson(JsonReader jsonReader)
Reads an instance of Column from the Json |
String |
name()
Get the name property: Name of the Cosmos DB Cassandra table column. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the Cosmos DB Cassandra table column. |
void |
validate()
Validates the instance. |
Column |
withName(String name)
Set the name property: Name of the Cosmos DB Cassandra table column. |
Column |
withType(String type)
Set the type property: Type of the Cosmos DB Cassandra table column. |
Methods inherited from java.lang.Object
Constructor Details
Column
public Column()
Creates an instance of Column class.
Method Details
fromJson
public static Column fromJson(JsonReader jsonReader)
Reads an instance of Column from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the Cosmos DB Cassandra table column.
Returns:
toJson
type
public String type()
Get the type property: Type of the Cosmos DB Cassandra table column.
Returns:
validate
public void validate()
Validates the instance.
withName
public Column withName(String name)
Set the name property: Name of the Cosmos DB Cassandra table column.
Parameters:
Returns:
withType
public Column withType(String type)
Set the type property: Type of the Cosmos DB Cassandra table column.
Parameters:
Returns:
Applies to
Azure SDK for Java