ControllerResourceUpdateParameters Class

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

Implements

public final class ControllerResourceUpdateParameters
implements JsonSerializable<ControllerResourceUpdateParameters>

Parameters for updating a resource.

Constructor Summary

Constructor Description
ControllerResourceUpdateParameters()

Creates an instance of ControllerResourceUpdateParameters class.

Method Summary

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

Reads an instance of ControllerResourceUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: The resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ControllerResourceUpdateParameters withTags(Map<String,String> tags)

Set the tags property: The resource tags.

Methods inherited from java.lang.Object

Constructor Details

ControllerResourceUpdateParameters

public ControllerResourceUpdateParameters()

Creates an instance of ControllerResourceUpdateParameters class.

Method Details

fromJson

public static ControllerResourceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ControllerResourceUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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

Set the tags property: The resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ControllerResourceUpdateParameters object itself.

Applies to