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