Class IpGroupPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.IpGroupPropertiesFormat
All Implemented Interfaces:
com.azure.json.JsonSerializable<IpGroupPropertiesFormat>

public final class IpGroupPropertiesFormat extends Object implements com.azure.json.JsonSerializable<IpGroupPropertiesFormat>
The IpGroups property information.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of IpGroupPropertiesFormat class.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.azure.core.management.SubResource>
    Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.
    List<com.azure.core.management.SubResource>
    Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of IpGroupPropertiesFormat from the JsonReader.
    Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.
    Get the provisioningState property: The provisioning state of the IpGroups resource.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    withIpAddresses(List<String> ipAddresses)
    Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • IpGroupPropertiesFormat

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the IpGroups resource.
      Returns:
      the provisioningState value.
    • ipAddresses

      public List<String> ipAddresses()
      Get the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.
      Returns:
      the ipAddresses value.
    • withIpAddresses

      public IpGroupPropertiesFormat withIpAddresses(List<String> ipAddresses)
      Set the ipAddresses property: IpAddresses/IpAddressPrefixes in the IpGroups resource.
      Parameters:
      ipAddresses - the ipAddresses value to set.
      Returns:
      the IpGroupPropertiesFormat object itself.
    • firewalls

      public List<com.azure.core.management.SubResource> firewalls()
      Get the firewalls property: List of references to Firewall resources that this IpGroups is associated with.
      Returns:
      the firewalls value.
    • firewallPolicies

      public List<com.azure.core.management.SubResource> firewallPolicies()
      Get the firewallPolicies property: List of references to Firewall Policies resources that this IpGroups is associated with.
      Returns:
      the firewallPolicies 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<IpGroupPropertiesFormat>
      Throws:
      IOException
    • fromJson

      public static IpGroupPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IpGroupPropertiesFormat from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IpGroupPropertiesFormat 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 IpGroupPropertiesFormat.