Class ListVpnSitesResult
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ListVpnSitesResult
-
public final class ListVpnSitesResult extends Object
Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.
-
-
Constructor Summary
Constructors Constructor Description ListVpnSitesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextLink()Get the nextLink property: URL to get the next set of operation list results if there are any.voidvalidate()Validates the instance.List<VpnSiteInner>value()Get the value property: List of VpnSites.ListVpnSitesResultwithNextLink(String nextLink)Set the nextLink property: URL to get the next set of operation list results if there are any.ListVpnSitesResultwithValue(List<VpnSiteInner> value)Set the value property: List of VpnSites.
-
-
-
Method Detail
-
value
public List<VpnSiteInner> value()
Get the value property: List of VpnSites.- Returns:
- the value value.
-
withValue
public ListVpnSitesResult withValue(List<VpnSiteInner> value)
Set the value property: List of VpnSites.- Parameters:
value- the value value to set.- Returns:
- the ListVpnSitesResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: URL to get the next set of operation list results if there are any.- Returns:
- the nextLink value.
-
withNextLink
public ListVpnSitesResult withNextLink(String nextLink)
Set the nextLink property: URL to get the next set of operation list results if there are any.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the ListVpnSitesResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-