Class CassandraKeyspaceResource

java.lang.Object
com.azure.resourcemanager.cosmos.models.CassandraKeyspaceResource
Direct Known Subclasses:
CassandraKeyspaceGetPropertiesResource

public class CassandraKeyspaceResource extends Object
Cosmos DB Cassandra keyspace resource object.
  • Constructor Details

    • CassandraKeyspaceResource

      public CassandraKeyspaceResource()
      Creates an instance of CassandraKeyspaceResource class.
  • Method Details

    • id

      public String id()
      Get the id property: Name of the Cosmos DB Cassandra keyspace.
      Returns:
      the id value.
    • withId

      public CassandraKeyspaceResource withId(String id)
      Set the id property: Name of the Cosmos DB Cassandra keyspace.
      Parameters:
      id - the id value to set.
      Returns:
      the CassandraKeyspaceResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.