Class CassandraTableResource
java.lang.Object
com.microsoft.azure.management.cosmosdb.CassandraTableResource
Cosmos DB Cassandra table resource object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet time to live of the Cosmos DB Cassandra table.id()
Get name of the Cosmos DB Cassandra table.schema()
Get schema of the Cosmos DB Cassandra table.withDefaultTtl
(Integer defaultTtl) Set time to live of the Cosmos DB Cassandra table.Set name of the Cosmos DB Cassandra table.withSchema
(CassandraSchema schema) Set schema of the Cosmos DB Cassandra table.
-
Constructor Details
-
CassandraTableResource
public CassandraTableResource()
-
-
Method Details
-
id
Get name of the Cosmos DB Cassandra table.- Returns:
- the id value
-
withId
Set name of the Cosmos DB Cassandra table.- Parameters:
id
- the id value to set- Returns:
- the CassandraTableResource object itself.
-
defaultTtl
Get time to live of the Cosmos DB Cassandra table.- Returns:
- the defaultTtl value
-
withDefaultTtl
Set time to live of the Cosmos DB Cassandra table.- Parameters:
defaultTtl
- the defaultTtl value to set- Returns:
- the CassandraTableResource object itself.
-
schema
Get schema of the Cosmos DB Cassandra table.- Returns:
- the schema value
-
withSchema
Set schema of the Cosmos DB Cassandra table.- Parameters:
schema
- the schema value to set- Returns:
- the CassandraTableResource object itself.
-