SecurityUserGroupItem Class

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

Implements

public final class SecurityUserGroupItem
implements JsonSerializable<SecurityUserGroupItem>

Network manager security user group item.

Constructor Summary

Constructor Description
SecurityUserGroupItem()

Creates an instance of SecurityUserGroupItem class.

Method Summary

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

Reads an instance of SecurityUserGroupItem from the JsonReader.

String networkGroupId()

Get the networkGroupId property: Network manager group Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecurityUserGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network manager group Id.

Methods inherited from java.lang.Object

Constructor Details

SecurityUserGroupItem

public SecurityUserGroupItem()

Creates an instance of SecurityUserGroupItem class.

Method Details

fromJson

public static SecurityUserGroupItem fromJson(JsonReader jsonReader)

Reads an instance of SecurityUserGroupItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Set the networkGroupId property: Network manager group Id.

Parameters:

networkGroupId - the networkGroupId value to set.

Returns:

the SecurityUserGroupItem object itself.

Applies to