ResourceUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.models.ResourceUpdateParameters

Implements

public final class ResourceUpdateParameters
implements JsonSerializable<ResourceUpdateParameters>

Parameters for updating a resource.

Constructor Summary

Constructor Description
ResourceUpdateParameters()

Creates an instance of ResourceUpdateParameters class.

Method Summary

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

Reads an instance of ResourceUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: The resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceUpdateParameters withTags(Map<String,String> tags)

Set the tags property: The resource tags.

Methods inherited from java.lang.Object

Constructor Details

ResourceUpdateParameters

public ResourceUpdateParameters()

Creates an instance of ResourceUpdateParameters class.

Method Details

fromJson

public static ResourceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ResourceUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: The resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: The resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ResourceUpdateParameters object itself.

Applies to