Class CapacityReservationListResult
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CapacityReservationListResult
-
public final class CapacityReservationListResult extends Object
The list capacity reservation operation response.
-
-
Constructor Summary
Constructors Constructor Description CapacityReservationListResult()
-
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 capacity reservations.voidvalidate()Validates the instance.List<CapacityReservationInner>value()Get the value property: The list of capacity reservations.CapacityReservationListResultwithNextLink(String nextLink)Set the nextLink property: The URI to fetch the next page of capacity reservations.CapacityReservationListResultwithValue(List<CapacityReservationInner> value)Set the value property: The list of capacity reservations.
-
-
-
Method Detail
-
value
public List<CapacityReservationInner> value()
Get the value property: The list of capacity reservations.- Returns:
- the value value.
-
withValue
public CapacityReservationListResult withValue(List<CapacityReservationInner> value)
Set the value property: The list of capacity reservations.- Parameters:
value- the value value to set.- Returns:
- the CapacityReservationListResult object itself.
-
nextLink
public String 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
public CapacityReservationListResult withNextLink(String nextLink)
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.
-
-