Class CapacityReservationGroupListResult
java.lang.Object
com.azure.resourcemanager.compute.models.CapacityReservationGroupListResult
The List capacity reservation group with resource group response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CapacityReservationGroupListResult class. -
Method Summary
Modifier and TypeMethodDescriptionnextLink()Get the nextLink property: The URI to fetch the next page of capacity reservation groups.voidvalidate()Validates the instance.value()Get the value property: The list of capacity reservation groups.withNextLink(String nextLink) Set the nextLink property: The URI to fetch the next page of capacity reservation groups.Set the value property: The list of capacity reservation groups.
-
Constructor Details
-
CapacityReservationGroupListResult
public CapacityReservationGroupListResult()Creates an instance of CapacityReservationGroupListResult class.
-
-
Method Details
-
value
Get the value property: The list of capacity reservation groups.- Returns:
- the value value.
-
withValue
Set the value property: The list of capacity reservation groups.- Parameters:
value- the value value to set.- Returns:
- the CapacityReservationGroupListResult object itself.
-
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
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.
-