public class CassandraTableResource extends Object
| Constructor and Description |
|---|
CassandraTableResource() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
defaultTtl()
Get time to live of the Cosmos DB Cassandra table.
|
String |
id()
Get name of the Cosmos DB Cassandra table.
|
CassandraSchema |
schema()
Get schema of the Cosmos DB Cassandra table.
|
CassandraTableResource |
withDefaultTtl(Integer defaultTtl)
Set time to live of the Cosmos DB Cassandra table.
|
CassandraTableResource |
withId(String id)
Set name of the Cosmos DB Cassandra table.
|
CassandraTableResource |
withSchema(CassandraSchema schema)
Set schema of the Cosmos DB Cassandra table.
|
public String id()
public CassandraTableResource withId(String id)
id - the id value to setpublic Integer defaultTtl()
public CassandraTableResource withDefaultTtl(Integer defaultTtl)
defaultTtl - the defaultTtl value to setpublic CassandraSchema schema()
public CassandraTableResource withSchema(CassandraSchema schema)
schema - the schema value to setCopyright © 2019. All rights reserved.