Class CassandraTableResource

java.lang.Object
com.microsoft.azure.management.cosmosdb.CassandraTableResource

public class CassandraTableResource extends Object
Cosmos DB Cassandra table resource object.
  • Constructor Details

    • CassandraTableResource

      public CassandraTableResource()
  • Method Details

    • id

      public String id()
      Get name of the Cosmos DB Cassandra table.
      Returns:
      the id value
    • withId

      public CassandraTableResource withId(String id)
      Set name of the Cosmos DB Cassandra table.
      Parameters:
      id - the id value to set
      Returns:
      the CassandraTableResource object itself.
    • defaultTtl

      public Integer defaultTtl()
      Get time to live of the Cosmos DB Cassandra table.
      Returns:
      the defaultTtl value
    • withDefaultTtl

      public CassandraTableResource withDefaultTtl(Integer defaultTtl)
      Set time to live of the Cosmos DB Cassandra table.
      Parameters:
      defaultTtl - the defaultTtl value to set
      Returns:
      the CassandraTableResource object itself.
    • schema

      public CassandraSchema schema()
      Get schema of the Cosmos DB Cassandra table.
      Returns:
      the schema value
    • withSchema

      public CassandraTableResource withSchema(CassandraSchema schema)
      Set schema of the Cosmos DB Cassandra table.
      Parameters:
      schema - the schema value to set
      Returns:
      the CassandraTableResource object itself.