Class ListVpnGatewaysResult
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ListVpnGatewaysResult
-
public final class ListVpnGatewaysResult extends Object
Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.
-
-
Constructor Summary
Constructors Constructor Description ListVpnGatewaysResult()
-
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<VpnGatewayInner>value()Get the value property: List of VpnGateways.ListVpnGatewaysResultwithNextLink(String nextLink)Set the nextLink property: URL to get the next set of operation list results if there are any.ListVpnGatewaysResultwithValue(List<VpnGatewayInner> value)Set the value property: List of VpnGateways.
-
-
-
Method Detail
-
value
public List<VpnGatewayInner> value()
Get the value property: List of VpnGateways.- Returns:
- the value value.
-
withValue
public ListVpnGatewaysResult withValue(List<VpnGatewayInner> value)
Set the value property: List of VpnGateways.- Parameters:
value- the value value to set.- Returns:
- the ListVpnGatewaysResult 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 ListVpnGatewaysResult 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 ListVpnGatewaysResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-