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