public class CassandraTableResource extends Object
| Constructor and Description |
|---|
CassandraTableResource() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
defaultTtl()
Get the defaultTtl property: Time to live of the Cosmos DB Cassandra table.
|
String |
id()
Get the id property: Name of the Cosmos DB Cassandra table.
|
CassandraSchema |
schema()
Get the schema property: Schema of the Cosmos DB Cassandra table.
|
void |
validate()
Validates the instance.
|
CassandraTableResource |
withDefaultTtl(Integer defaultTtl)
Set the defaultTtl property: Time to live of the Cosmos DB Cassandra table.
|
CassandraTableResource |
withId(String id)
Set the id property: Name of the Cosmos DB Cassandra table.
|
CassandraTableResource |
withSchema(CassandraSchema schema)
Set the schema property: Schema of the Cosmos DB Cassandra table.
|
public String id()
public CassandraTableResource withId(String id)
id - the id value to set.public Integer defaultTtl()
public CassandraTableResource withDefaultTtl(Integer defaultTtl)
defaultTtl - the defaultTtl value to set.public CassandraSchema schema()
public CassandraTableResource withSchema(CassandraSchema schema)
schema - the schema value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.