CassandraKeyspaceResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. CassandraKeyspaceResource
- com.
Implements
public class CassandraKeyspaceResource
implements JsonSerializable<CassandraKeyspaceResource>
Cosmos DB Cassandra keyspace resource object.
Constructor Summary
Constructor | Description |
---|---|
CassandraKeyspaceResource() |
Creates an instance of Cassandra |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cassandra |
fromJson(JsonReader jsonReader)
Reads an instance of Cassandra |
String |
id()
Get the id property: Name of the Cosmos DB Cassandra keyspace. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cassandra |
withId(String id)
Set the id property: Name of the Cosmos DB Cassandra keyspace. |
Methods inherited from java.lang.Object
Constructor Details
CassandraKeyspaceResource
public CassandraKeyspaceResource()
Creates an instance of CassandraKeyspaceResource class.
Method Details
fromJson
public static CassandraKeyspaceResource fromJson(JsonReader jsonReader)
Reads an instance of CassandraKeyspaceResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Name of the Cosmos DB Cassandra keyspace.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public CassandraKeyspaceResource withId(String id)
Set the id property: Name of the Cosmos DB Cassandra keyspace.
Parameters:
Returns:
Applies to
Azure SDK for Java