L2NetworkPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.L2NetworkPatchParameters

Implements

public final class L2NetworkPatchParameters
implements JsonSerializable<L2NetworkPatchParameters>

L2NetworkPatchParameters represents the body of the request to patch the L2 network.

Constructor Summary

Constructor Description
L2NetworkPatchParameters()

Creates an instance of L2NetworkPatchParameters class.

Method Summary

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

Reads an instance of L2NetworkPatchParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

L2NetworkPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Methods inherited from java.lang.Object

Constructor Details

L2NetworkPatchParameters

public L2NetworkPatchParameters()

Creates an instance of L2NetworkPatchParameters class.

Method Details

fromJson

public static L2NetworkPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of L2NetworkPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: The Azure resource tags that will replace the existing ones.

Parameters:

tags - the tags value to set.

Returns:

the L2NetworkPatchParameters object itself.

Applies to