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