Class CassandraTableCreateUpdateParameters
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.CassandraTableCreateUpdateParameters
-
public class CassandraTableCreateUpdateParameters extends Object
Parameters to create and update Cosmos DB Cassandra table.
-
-
Constructor Summary
Constructors Constructor Description CassandraTableCreateUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>options()Get a key-value pair of options to be applied for the request.CassandraTableResourceresource()Get the standard JSON format of a Cassandra table.CassandraTableCreateUpdateParameterswithOptions(Map<String,String> options)Set a key-value pair of options to be applied for the request.CassandraTableCreateUpdateParameterswithResource(CassandraTableResource resource)Set the standard JSON format of a Cassandra table.
-
-
-
Method Detail
-
resource
public CassandraTableResource resource()
Get the standard JSON format of a Cassandra table.- Returns:
- the resource value
-
withResource
public CassandraTableCreateUpdateParameters withResource(CassandraTableResource resource)
Set the standard JSON format of a Cassandra table.- Parameters:
resource- the resource value to set- Returns:
- the CassandraTableCreateUpdateParameters object itself.
-
options
public Map<String,String> options()
Get a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Returns:
- the options value
-
withOptions
public CassandraTableCreateUpdateParameters withOptions(Map<String,String> options)
Set a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.- Parameters:
options- the options value to set- Returns:
- the CassandraTableCreateUpdateParameters object itself.
-
-