TrunkedNetworkPatchParameters Class

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

Implements

public final class TrunkedNetworkPatchParameters
implements JsonSerializable<TrunkedNetworkPatchParameters>

TrunkedNetworkPatchParameters represents the body of the request to patch the Trunked network.

Constructor Summary

Constructor Description
TrunkedNetworkPatchParameters()

Creates an instance of TrunkedNetworkPatchParameters class.

Method Summary

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

Reads an instance of TrunkedNetworkPatchParameters 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.

TrunkedNetworkPatchParameters 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

TrunkedNetworkPatchParameters

public TrunkedNetworkPatchParameters()

Creates an instance of TrunkedNetworkPatchParameters class.

Method Details

fromJson

public static TrunkedNetworkPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of TrunkedNetworkPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 TrunkedNetworkPatchParameters 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 TrunkedNetworkPatchParameters object itself.

Applies to