Class PrivateZoneListResult

java.lang.Object
com.azure.resourcemanager.privatedns.models.PrivateZoneListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateZoneListResult>

public final class PrivateZoneListResult extends Object implements com.azure.json.JsonSerializable<PrivateZoneListResult>
The response to a Private DNS zone list operation.
  • Constructor Details

    • PrivateZoneListResult

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

    • value

      public List<PrivateZoneInner> value()
      Get the value property: Information about the Private DNS zones.
      Returns:
      the value value.
    • withValue

      public PrivateZoneListResult withValue(List<PrivateZoneInner> value)
      Set the value property: Information about the Private DNS zones.
      Parameters:
      value - the value value to set.
      Returns:
      the PrivateZoneListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The continuation token for the next page of results.
      Returns:
      the nextLink 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<PrivateZoneListResult>
      Throws:
      IOException
    • fromJson

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