Class SubscriptionListResult
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.SubscriptionListResult
-
public final class SubscriptionListResult extends Object
Subscription list operation response.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: The URL to get the next set of results.voidvalidate()Validates the instance.List<SubscriptionInner>value()Get the value property: An array of subscriptions.SubscriptionListResultwithNextLink(String nextLink)Set the nextLink property: The URL to get the next set of results.SubscriptionListResultwithValue(List<SubscriptionInner> value)Set the value property: An array of subscriptions.
-
-
-
Method Detail
-
value
public List<SubscriptionInner> value()
Get the value property: An array of subscriptions.- Returns:
- the value value.
-
withValue
public SubscriptionListResult withValue(List<SubscriptionInner> value)
Set the value property: An array of subscriptions.- Parameters:
value- the value value to set.- Returns:
- the SubscriptionListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URL to get the next set of results.- Returns:
- the nextLink value.
-
withNextLink
public SubscriptionListResult withNextLink(String nextLink)
Set the nextLink property: The URL to get the next set of results.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the SubscriptionListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-