Class VirtualMachineListResult
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineListResult
The List Virtual Machine operation response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextLink()Get the nextLink property: The URI to fetch the next page of VMs.voidvalidate()Validates the instance.value()Get the value property: The list of virtual machines.withNextLink(String nextLink) Set the nextLink property: The URI to fetch the next page of VMs.withValue(List<VirtualMachineInner> value) Set the value property: The list of virtual machines.
-
Constructor Details
-
VirtualMachineListResult
public VirtualMachineListResult()
-
-
Method Details
-
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
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
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.
-