SqlDatabaseResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. SqlDatabaseResourceSettings
- com.
- com.
public final class SqlDatabaseResourceSettings
extends ResourceSettings
Defines the Sql Database resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlDatabaseResourceSettings() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
resourceType()
Get the resource |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
|
Sql |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Sql |
withTargetResourceName(String targetResourceName)
Set the target |
|
Sql |
withZoneRedundant(ZoneRedundant zoneRedundant)
Set the zone |
|
Zone |
zoneRedundant()
Get the zone |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
SqlDatabaseResourceSettings
public SqlDatabaseResourceSettings()
Creates an instance of SqlDatabaseResourceSettings class.
Method Details
fromJson
public static SqlDatabaseResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of SqlDatabaseResourceSettings from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
Overrides:
SqlDatabaseResourceSettings.resourceType()Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlDatabaseResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
SqlDatabaseResourceSettings.validate()withTags
public SqlDatabaseResourceSettings withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns:
withTargetResourceGroupName
public SqlDatabaseResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
SqlDatabaseResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public SqlDatabaseResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
SqlDatabaseResourceSettings.withTargetResourceName(String targetResourceName)Parameters:
withZoneRedundant
public SqlDatabaseResourceSettings withZoneRedundant(ZoneRedundant zoneRedundant)
Set the zoneRedundant property: Defines the zone redundant resource setting.
Parameters:
Returns:
zoneRedundant
public ZoneRedundant zoneRedundant()
Get the zoneRedundant property: Defines the zone redundant resource setting.
Returns: