Class CassandraKeyspaceResource
java.lang.Object
com.azure.resourcemanager.cosmos.models.CassandraKeyspaceResource
- Direct Known Subclasses:
CassandraKeyspaceGetPropertiesResource
Cosmos DB Cassandra keyspace resource object.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CassandraKeyspaceResource class. -
Method Summary
-
Constructor Details
-
CassandraKeyspaceResource
public CassandraKeyspaceResource()Creates an instance of CassandraKeyspaceResource class.
-
-
Method Details
-
id
Get the id property: Name of the Cosmos DB Cassandra keyspace.- Returns:
- the id value.
-
withId
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.
-