CassandraTableCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. CassandraTableCreateUpdateProperties
- com.
Implements
public final class CassandraTableCreateUpdateProperties
implements JsonSerializable<CassandraTableCreateUpdateProperties>
Properties to create and update Azure Cosmos DB Cassandra table.
Constructor Summary
| Constructor | Description |
|---|---|
| CassandraTableCreateUpdateProperties() |
Creates an instance of Cassandra |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cassandra |
fromJson(JsonReader jsonReader)
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 table. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cassandra |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
|
Cassandra |
withResource(CassandraTableResource resource)
Set the resource property: The standard JSON format of a Cassandra table. |
Methods inherited from java.lang.Object
Constructor Details
CassandraTableCreateUpdateProperties
public CassandraTableCreateUpdateProperties()
Creates an instance of CassandraTableCreateUpdateProperties class.
Method Details
fromJson
public static CassandraTableCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of CassandraTableCreateUpdateProperties 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 CassandraTableResource resource()
Get the resource property: The standard JSON format of a Cassandra table.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public CassandraTableCreateUpdateProperties 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 CassandraTableCreateUpdateProperties withResource(CassandraTableResource resource)
Set the resource property: The standard JSON format of a Cassandra table.
Parameters:
Returns: