Class SnapshotList
java.lang.Object
com.azure.resourcemanager.compute.models.SnapshotList
The List Snapshots operation response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextLink()Get the nextLink property: The uri to fetch the next page of snapshots.voidvalidate()Validates the instance.value()Get the value property: A list of snapshots.withNextLink(String nextLink) Set the nextLink property: The uri to fetch the next page of snapshots.withValue(List<SnapshotInner> value) Set the value property: A list of snapshots.
-
Constructor Details
-
SnapshotList
public SnapshotList()Creates an instance of SnapshotList class.
-
-
Method Details
-
value
Get the value property: A list of snapshots.- Returns:
- the value value.
-
withValue
Set the value property: A list of snapshots.- Parameters:
value- the value value to set.- Returns:
- the SnapshotList object itself.
-
nextLink
Get the nextLink property: The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the SnapshotList object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-