Class CapacityReservationGroupListResult
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CapacityReservationGroupListResult
-
public final class CapacityReservationGroupListResult extends Object
The List capacity reservation group with resource group response.
-
-
Constructor Summary
Constructors Constructor Description CapacityReservationGroupListResult()
-
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 reservation groups.voidvalidate()Validates the instance.List<CapacityReservationGroupInner>value()Get the value property: The list of capacity reservation groups.CapacityReservationGroupListResultwithNextLink(String nextLink)Set the nextLink property: The URI to fetch the next page of capacity reservation groups.CapacityReservationGroupListResultwithValue(List<CapacityReservationGroupInner> value)Set the value property: The list of capacity reservation groups.
-
-
-
Method Detail
-
value
public List<CapacityReservationGroupInner> value()
Get the value property: The list of capacity reservation groups.- Returns:
- the value value.
-
withValue
public CapacityReservationGroupListResult withValue(List<CapacityReservationGroupInner> value)
Set the value property: The list of capacity reservation groups.- Parameters:
value- the value value to set.- Returns:
- the CapacityReservationGroupListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups.- Returns:
- the nextLink value.
-
withNextLink
public CapacityReservationGroupListResult withNextLink(String nextLink)
Set the nextLink property: The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the CapacityReservationGroupListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-