Class ElasticSanList

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

public final class ElasticSanList extends Object implements com.azure.json.JsonSerializable<ElasticSanList>
List of Elastic Sans.
  • Constructor Details

    • ElasticSanList

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

    • value

      public List<ElasticSanInner> value()
      Get the value property: An array of Elastic San objects.
      Returns:
      the value value.
    • withValue

      public ElasticSanList withValue(List<ElasticSanInner> value)
      Set the value property: An array of Elastic San objects.
      Parameters:
      value - the value value to set.
      Returns:
      the ElasticSanList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: URI to fetch the next section of the paginated response.
      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<ElasticSanList>
      Throws:
      IOException
    • fromJson

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