SqlManagedInstanceUpdate Class

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

Implements

public final class SqlManagedInstanceUpdate
implements JsonSerializable<SqlManagedInstanceUpdate>

An update to a SQL Managed Instance.

Constructor Summary

Constructor Description
SqlManagedInstanceUpdate()

Creates an instance of SqlManagedInstanceUpdate class.

Method Summary

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

Reads an instance of SqlManagedInstanceUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlManagedInstanceUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

SqlManagedInstanceUpdate

public SqlManagedInstanceUpdate()

Creates an instance of SqlManagedInstanceUpdate class.

Method Details

fromJson

public static SqlManagedInstanceUpdate fromJson(JsonReader jsonReader)

Reads an instance of SqlManagedInstanceUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlManagedInstanceUpdate 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 SqlManagedInstanceUpdate.

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 SqlManagedInstanceUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the SqlManagedInstanceUpdate object itself.

Applies to