Class CassandraKeyspaceCreateUpdateParameters
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.CassandraKeyspaceCreateUpdateParameters
-
public class CassandraKeyspaceCreateUpdateParameters extends Object
Parameters to create and update Cosmos DB Cassandra keyspace.
-
-
Constructor Summary
Constructors Constructor Description CassandraKeyspaceCreateUpdateParameters()
-
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.CassandraKeyspaceResourceresource()Get the standard JSON format of a Cassandra keyspace.CassandraKeyspaceCreateUpdateParameterswithOptions(Map<String,String> options)Set a key-value pair of options to be applied for the request.CassandraKeyspaceCreateUpdateParameterswithResource(CassandraKeyspaceResource resource)Set the standard JSON format of a Cassandra keyspace.
-
-
-
Method Detail
-
resource
public CassandraKeyspaceResource resource()
Get the standard JSON format of a Cassandra keyspace.- Returns:
- the resource value
-
withResource
public CassandraKeyspaceCreateUpdateParameters withResource(CassandraKeyspaceResource resource)
Set the standard JSON format of a Cassandra keyspace.- Parameters:
resource- the resource value to set- Returns:
- the CassandraKeyspaceCreateUpdateParameters 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 CassandraKeyspaceCreateUpdateParameters 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 CassandraKeyspaceCreateUpdateParameters object itself.
-
-