Class VirtualMachineListResult

java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineListResult

public final class VirtualMachineListResult extends Object
The List Virtual Machine operation response.
  • Constructor Details

    • VirtualMachineListResult

      public VirtualMachineListResult()
  • Method Details

    • value

      public List<VirtualMachineInner> value()
      Get the value property: The list of virtual machines.
      Returns:
      the value value.
    • withValue

      Set the value property: The list of virtual machines.
      Parameters:
      value - the value value to set.
      Returns:
      the VirtualMachineListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.
      Returns:
      the nextLink value.
    • withNextLink

      public VirtualMachineListResult withNextLink(String nextLink)
      Set the nextLink property: The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the VirtualMachineListResult object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.