NetworkRackPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.models.NetworkRackPatch

Implements

public final class NetworkRackPatch
implements JsonSerializable<NetworkRackPatch>

Network Rack patch resource definition.

Constructor Summary

Constructor Description
NetworkRackPatch()

Creates an instance of NetworkRackPatch class.

Method Summary

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

Reads an instance of NetworkRackPatch from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

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

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

NetworkRackPatch

public NetworkRackPatch()

Creates an instance of NetworkRackPatch class.

Method Details

fromJson

public static NetworkRackPatch fromJson(JsonReader jsonReader)

Reads an instance of NetworkRackPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the NetworkRackPatch object itself.

Applies to