Class NetworkGroupProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkGroupProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkGroupProperties>
public final class NetworkGroupProperties
extends Object
implements com.azure.json.JsonSerializable<NetworkGroupProperties>
Properties of network group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkGroupProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: A description of the network group.static NetworkGroupPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkGroupProperties from the JsonReader.Get the memberType property: The type of the group member.Get the provisioningState property: The provisioning state of the scope assignment resource.Get the resourceGuid property: Unique identifier for this resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: A description of the network group.withMemberType(GroupMemberType memberType) Set the memberType property: The type of the group member.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkGroupProperties
public NetworkGroupProperties()Creates an instance of NetworkGroupProperties class.
-
-
Method Details
-
description
Get the description property: A description of the network group.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the network group.- Parameters:
description- the description value to set.- Returns:
- the NetworkGroupProperties object itself.
-
memberType
Get the memberType property: The type of the group member.- Returns:
- the memberType value.
-
withMemberType
Set the memberType property: The type of the group member.- Parameters:
memberType- the memberType value to set.- Returns:
- the NetworkGroupProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the scope assignment resource.- Returns:
- the provisioningState value.
-
resourceGuid
Get the resourceGuid property: Unique identifier for this resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkGroupProperties>- Throws:
IOException
-
fromJson
public static NetworkGroupProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkGroupProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkGroupProperties 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 NetworkGroupProperties.
-