Class VirtualMachineScaleSetListWithLinkResult

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

public final class VirtualMachineScaleSetListWithLinkResult extends Object implements com.azure.json.JsonSerializable<VirtualMachineScaleSetListWithLinkResult>
The List Virtual Machine operation response.
  • Constructor Details

    • VirtualMachineScaleSetListWithLinkResult

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

    • value

      Get the value property: The list of virtual machine scale sets.
      Returns:
      the value value.
    • withValue

      Set the value property: The list of virtual machine scale sets.
      Parameters:
      value - the value value to set.
      Returns:
      the VirtualMachineScaleSetListWithLinkResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.
      Returns:
      the nextLink value.
    • withNextLink

      public VirtualMachineScaleSetListWithLinkResult withNextLink(String nextLink)
      Set the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the VirtualMachineScaleSetListWithLinkResult 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<VirtualMachineScaleSetListWithLinkResult>
      Throws:
      IOException
    • fromJson

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