UpdateResource Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.UpdateResource

Implements

public class UpdateResource
implements JsonSerializable<UpdateResource>

Represents an update resource.

Constructor Summary

Constructor Description
UpdateResource()

Creates an instance of UpdateResource class.

Method Summary

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

Reads an instance of UpdateResource from the JsonReader.

Map<String,String> tags()

Get the tags property: The tags of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
UpdateResource withTags(Map<String,String> tags)

Set the tags property: The tags of the resource.

Methods inherited from java.lang.Object

Constructor Details

UpdateResource

public UpdateResource()

Creates an instance of UpdateResource class.

Method Details

fromJson

public static UpdateResource fromJson(JsonReader jsonReader)

Reads an instance of UpdateResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: The tags of the resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

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

Set the tags property: The tags of the resource.

Parameters:

tags - the tags value to set.

Returns:

the UpdateResource object itself.

Applies to