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