Class TrafficSelectorPolicy
java.lang.Object
com.microsoft.azure.management.network.TrafficSelectorPolicy
An traffic selector policy for a virtual network gateway connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a collection of local address spaces in CIDR format.Get a collection of remote address spaces in CIDR format.withLocalAddressRanges
(List<String> localAddressRanges) Set a collection of local address spaces in CIDR format.withRemoteAddressRanges
(List<String> remoteAddressRanges) Set a collection of remote address spaces in CIDR format.
-
Constructor Details
-
TrafficSelectorPolicy
public TrafficSelectorPolicy()
-
-
Method Details
-
localAddressRanges
Get a collection of local address spaces in CIDR format.- Returns:
- the localAddressRanges value
-
withLocalAddressRanges
Set a collection of local address spaces in CIDR format.- Parameters:
localAddressRanges
- the localAddressRanges value to set- Returns:
- the TrafficSelectorPolicy object itself.
-
remoteAddressRanges
Get a collection of remote address spaces in CIDR format.- Returns:
- the remoteAddressRanges value
-
withRemoteAddressRanges
Set a collection of remote address spaces in CIDR format.- Parameters:
remoteAddressRanges
- the remoteAddressRanges value to set- Returns:
- the TrafficSelectorPolicy object itself.
-