Class CassandraTableResource
java.lang.Object
com.microsoft.azure.management.cosmosdb.CassandraTableResource
Cosmos DB Cassandra table resource object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
CassandraTableResourcepublic CassandraTableResource()
 
- 
- 
Method Details- 
idGet name of the Cosmos DB Cassandra table.- Returns:
- the id value
 
- 
withIdSet name of the Cosmos DB Cassandra table.- Parameters:
- id- the id value to set
- Returns:
- the CassandraTableResource object itself.
 
- 
defaultTtlGet time to live of the Cosmos DB Cassandra table.- Returns:
- the defaultTtl value
 
- 
withDefaultTtlSet time to live of the Cosmos DB Cassandra table.- Parameters:
- defaultTtl- the defaultTtl value to set
- Returns:
- the CassandraTableResource object itself.
 
- 
schemaGet schema of the Cosmos DB Cassandra table.- Returns:
- the schema value
 
- 
withSchemaSet schema of the Cosmos DB Cassandra table.- Parameters:
- schema- the schema value to set
- Returns:
- the CassandraTableResource object itself.
 
 
-