Class VirtualMachineListResult
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineListResult
-
public final class VirtualMachineListResult extends Object
The List Virtual Machine operation response.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: The URI to fetch the next page of VMs.voidvalidate()Validates the instance.List<VirtualMachineInner>value()Get the value property: The list of virtual machines.VirtualMachineListResultwithNextLink(String nextLink)Set the nextLink property: The URI to fetch the next page of VMs.VirtualMachineListResultwithValue(List<VirtualMachineInner> value)Set the value property: The list of virtual machines.
-
-
-
Method Detail
-
value
public List<VirtualMachineInner> value()
Get the value property: The list of virtual machines.- Returns:
- the value value.
-
withValue
public VirtualMachineListResult withValue(List<VirtualMachineInner> value)
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.
-
-