Class DiskList
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DiskList
-
public final class DiskList extends Object
The List Disks operation response.
-
-
Constructor Summary
Constructors Constructor Description DiskList()
-
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 disks.voidvalidate()Validates the instance.List<DiskInner>value()Get the value property: A list of disks.DiskListwithNextLink(String nextLink)Set the nextLink property: The uri to fetch the next page of disks.DiskListwithValue(List<DiskInner> value)Set the value property: A list of disks.
-
-
-
Method Detail
-
value
public List<DiskInner> value()
Get the value property: A list of disks.- Returns:
- the value value.
-
withValue
public DiskList withValue(List<DiskInner> value)
Set the value property: A list of disks.- Parameters:
value- the value value to set.- Returns:
- the DiskList object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.- Returns:
- the nextLink value.
-
withNextLink
public DiskList withNextLink(String nextLink)
Set the nextLink property: The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the DiskList object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-