Class PrivateDnsZoneGroupPropertiesFormat

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

public final class PrivateDnsZoneGroupPropertiesFormat extends Object implements com.azure.json.JsonSerializable<PrivateDnsZoneGroupPropertiesFormat>
Properties of the private dns zone group.
  • Constructor Details

    • PrivateDnsZoneGroupPropertiesFormat

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the private dns zone group resource.
      Returns:
      the provisioningState value.
    • privateDnsZoneConfigs

      public List<PrivateDnsZoneConfig> privateDnsZoneConfigs()
      Get the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.
      Returns:
      the privateDnsZoneConfigs value.
    • withPrivateDnsZoneConfigs

      public PrivateDnsZoneGroupPropertiesFormat withPrivateDnsZoneConfigs(List<PrivateDnsZoneConfig> privateDnsZoneConfigs)
      Set the privateDnsZoneConfigs property: A collection of private dns zone configurations of the private dns zone group.
      Parameters:
      privateDnsZoneConfigs - the privateDnsZoneConfigs value to set.
      Returns:
      the PrivateDnsZoneGroupPropertiesFormat object itself.
    • 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<PrivateDnsZoneGroupPropertiesFormat>
      Throws:
      IOException
    • fromJson

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