SqlServerInstanceUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.azurearcdata.models.SqlServerInstanceUpdate

Implements

public final class SqlServerInstanceUpdate
implements JsonSerializable<SqlServerInstanceUpdate>

An update to a SQL Server Instance.

Constructor Summary

Constructor Description
SqlServerInstanceUpdate()

Creates an instance of SqlServerInstanceUpdate class.

Method Summary

Modifier and Type Method and Description
static SqlServerInstanceUpdate fromJson(JsonReader jsonReader)

Reads an instance of SqlServerInstanceUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlServerInstanceUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

SqlServerInstanceUpdate

public SqlServerInstanceUpdate()

Creates an instance of SqlServerInstanceUpdate class.

Method Details

fromJson

public static SqlServerInstanceUpdate fromJson(JsonReader jsonReader)

Reads an instance of SqlServerInstanceUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlServerInstanceUpdate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlServerInstanceUpdate.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

public SqlServerInstanceUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the SqlServerInstanceUpdate object itself.

Applies to