Class ConfigurationGroup
java.lang.Object
com.azure.resourcemanager.network.models.ConfigurationGroup
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigurationGroup>
public final class ConfigurationGroup
extends Object
implements com.azure.json.JsonSerializable<ConfigurationGroup>
The network configuration group resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: A description of the network group.static ConfigurationGroupfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationGroup from the JsonReader.id()Get the id property: Network group ID.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.Set the id property: Network group ID.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
-
ConfigurationGroup
public ConfigurationGroup()Creates an instance of ConfigurationGroup class.
-
-
Method Details
-
id
Get the id property: Network group ID.- Returns:
- the id value.
-
withId
Set the id property: Network group ID.- Parameters:
id- the id value to set.- Returns:
- the ConfigurationGroup object itself.
-
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 ConfigurationGroup 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 ConfigurationGroup 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<ConfigurationGroup>- Throws:
IOException
-
fromJson
Reads an instance of ConfigurationGroup from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigurationGroup 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 ConfigurationGroup.
-