Class OSFamilyListResult

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

public final class OSFamilyListResult extends Object implements com.azure.json.JsonSerializable<OSFamilyListResult>
The list operation result.
  • Constructor Details

    • OSFamilyListResult

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

    • value

      public List<OSFamilyInner> value()
      Get the value property: The list of resources.
      Returns:
      the value value.
    • withValue

      public OSFamilyListResult withValue(List<OSFamilyInner> value)
      Set the value property: The list of resources.
      Parameters:
      value - the value value to set.
      Returns:
      the OSFamilyListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.
      Returns:
      the nextLink value.
    • withNextLink

      public OSFamilyListResult withNextLink(String nextLink)
      Set the nextLink property: The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the OSFamilyListResult 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<OSFamilyListResult>
      Throws:
      IOException
    • fromJson

      public static OSFamilyListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OSFamilyListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OSFamilyListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the OSFamilyListResult.