NetworkManagerRoutingGroupItem Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem

Implements

public final class NetworkManagerRoutingGroupItem
implements JsonSerializable<NetworkManagerRoutingGroupItem>

Network manager routing group item.

Constructor Summary

Constructor Description
NetworkManagerRoutingGroupItem()

Creates an instance of NetworkManagerRoutingGroupItem class.

Method Summary

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

Reads an instance of NetworkManagerRoutingGroupItem from the JsonReader.

String networkGroupId()

Get the networkGroupId property: Network manager group Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerRoutingGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network manager group Id.

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerRoutingGroupItem

public NetworkManagerRoutingGroupItem()

Creates an instance of NetworkManagerRoutingGroupItem class.

Method Details

fromJson

public static NetworkManagerRoutingGroupItem fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerRoutingGroupItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkManagerRoutingGroupItem if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

networkGroupId

public String networkGroupId()

Get the networkGroupId property: Network manager group Id.

Returns:

the networkGroupId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkGroupId

public NetworkManagerRoutingGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network manager group Id.

Parameters:

networkGroupId - the networkGroupId value to set.

Returns:

the NetworkManagerRoutingGroupItem object itself.

Applies to