Class RegionInfosList

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

public final class RegionInfosList extends Object implements com.azure.json.JsonSerializable<RegionInfosList>
List of regionInfo resources.
  • Constructor Details

    • RegionInfosList

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

    • value

      public List<RegionInfoResourceInner> value()
      Get the value property: A list of regionInfo resources.
      Returns:
      the value value.
    • withValue

      public RegionInfosList withValue(List<RegionInfoResourceInner> value)
      Set the value property: A list of regionInfo resources.
      Parameters:
      value - the value value to set.
      Returns:
      the RegionInfosList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: URL to get the next set of results.
      Returns:
      the nextLink value.
    • withNextLink

      public RegionInfosList withNextLink(String nextLink)
      Set the nextLink property: URL to get the next set of results.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the RegionInfosList 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<RegionInfosList>
      Throws:
      IOException
    • fromJson

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