Class RouteListResult
- java.lang.Object
-
- com.azure.resourcemanager.network.models.RouteListResult
-
public final class RouteListResult extends Object
Response for the ListRoute API service call.
-
-
Constructor Summary
Constructors Constructor Description RouteListResult()
-
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<RouteInner>value()Get the value property: A list of routes in a resource group.RouteListResultwithNextLink(String nextLink)Set the nextLink property: The URL to get the next set of results.RouteListResultwithValue(List<RouteInner> value)Set the value property: A list of routes in a resource group.
-
-
-
Method Detail
-
value
public List<RouteInner> value()
Get the value property: A list of routes in a resource group.- Returns:
- the value value.
-
withValue
public RouteListResult withValue(List<RouteInner> value)
Set the value property: A list of routes in a resource group.- Parameters:
value- the value value to set.- Returns:
- the RouteListResult 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 RouteListResult 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 RouteListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-