SqlDatabaseGetProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. SqlDatabaseGetProperties
- com.
Implements
public final class SqlDatabaseGetProperties
implements JsonSerializable<SqlDatabaseGetProperties>
The properties of an Azure Cosmos DB SQL database.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlDatabaseGetProperties() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
|
Sql |
options()
Get the options property: The options property. |
|
Sql |
resource()
Get the resource property: The resource property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withOptions(SqlDatabaseGetPropertiesOptions options)
Set the options property: The options property. |
|
Sql |
withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property. |
Methods inherited from java.lang.Object
Constructor Details
SqlDatabaseGetProperties
public SqlDatabaseGetProperties()
Creates an instance of SqlDatabaseGetProperties class.
Method Details
fromJson
public static SqlDatabaseGetProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlDatabaseGetProperties from the JsonReader.
Parameters:
Returns:
Throws:
options
public SqlDatabaseGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public SqlDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public SqlDatabaseGetProperties withOptions(SqlDatabaseGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public SqlDatabaseGetProperties withResource(SqlDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns: