NetworkManagerSecurityGroupItem Class

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

Implements

public final class NetworkManagerSecurityGroupItem
implements JsonSerializable<NetworkManagerSecurityGroupItem>

Network manager security group item.

Constructor Summary

Constructor Description
NetworkManagerSecurityGroupItem()

Creates an instance of NetworkManagerSecurityGroupItem class.

Method Summary

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

Reads an instance of NetworkManagerSecurityGroupItem from the JsonReader.

String networkGroupId()

Get the networkGroupId property: Network manager group Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerSecurityGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network manager group Id.

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerSecurityGroupItem

public NetworkManagerSecurityGroupItem()

Creates an instance of NetworkManagerSecurityGroupItem class.

Method Details

fromJson

public static NetworkManagerSecurityGroupItem fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerSecurityGroupItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkManagerSecurityGroupItem 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 NetworkManagerSecurityGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network manager group Id.

Parameters:

networkGroupId - the networkGroupId value to set.

Returns:

the NetworkManagerSecurityGroupItem object itself.

Applies to