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 Details

    • NetworkGroupProperties

      public NetworkGroupProperties()
      Creates an instance of NetworkGroupProperties class.
  • Method Details

    • description

      public String description()
      Get the description property: A description of the network group.
      Returns:
      the description value.
    • withDescription

      public NetworkGroupProperties withDescription(String description)
      Set the description property: A description of the network group.
      Parameters:
      description - the description value to set.
      Returns:
      the NetworkGroupProperties object itself.
    • memberType

      public GroupMemberType memberType()
      Get the memberType property: The type of the group member.
      Returns:
      the memberType value.
    • withMemberType

      public NetworkGroupProperties withMemberType(GroupMemberType memberType)
      Set the memberType property: The type of the group member.
      Parameters:
      memberType - the memberType value to set.
      Returns:
      the NetworkGroupProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the scope assignment resource.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.