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