CassandraKeyspaceCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. CassandraKeyspaceCreateUpdateProperties
- com.
Implements
public final class CassandraKeyspaceCreateUpdateProperties
implements JsonSerializable<CassandraKeyspaceCreateUpdateProperties>
Properties to create and update Azure Cosmos DB Cassandra keyspace.
Constructor | Description |
---|---|
Cassandra |
Creates an instance of Cassandra |
Modifier and Type | Method and Description |
---|---|
static
Cassandra |
from Reads an instance of Cassandra |
Create |
options()
Get the options property: A key-value pair of options to be applied for the request. |
Cassandra |
resource()
Get the resource property: The standard JSON format of a Cassandra keyspace. |
Json |
to |
void |
validate()
Validates the instance. |
Cassandra |
with Set the options property: A key-value pair of options to be applied for the request. |
Cassandra |
with Set the resource property: The standard JSON format of a Cassandra keyspace. |
Methods inherited from java.lang.Object
CassandraKeyspaceCreateUpdateProperties
public CassandraKeyspaceCreateUpdateProperties()
Creates an instance of CassandraKeyspaceCreateUpdateProperties class.
fromJson
public static CassandraKeyspaceCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of CassandraKeyspaceCreateUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
options
public CreateUpdateOptions options()
Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Returns:
resource
public CassandraKeyspaceResource resource()
Get the resource property: The standard JSON format of a Cassandra keyspace.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public CassandraKeyspaceCreateUpdateProperties withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Parameters:
Returns:
withResource
public CassandraKeyspaceCreateUpdateProperties withResource(CassandraKeyspaceResource resource)
Set the resource property: The standard JSON format of a Cassandra keyspace.
Parameters:
Returns: