public final class TrafficSelectorPolicy extends Object
| Constructor and Description |
|---|
TrafficSelectorPolicy() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
localAddressRanges()
Get the localAddressRanges property: A collection of local address spaces in CIDR format.
|
List<String> |
remoteAddressRanges()
Get the remoteAddressRanges property: A collection of remote address spaces in CIDR format.
|
void |
validate()
Validates the instance.
|
TrafficSelectorPolicy |
withLocalAddressRanges(List<String> localAddressRanges)
Set the localAddressRanges property: A collection of local address spaces in CIDR format.
|
TrafficSelectorPolicy |
withRemoteAddressRanges(List<String> remoteAddressRanges)
Set the remoteAddressRanges property: A collection of remote address spaces in CIDR format.
|
public List<String> localAddressRanges()
public TrafficSelectorPolicy withLocalAddressRanges(List<String> localAddressRanges)
localAddressRanges - the localAddressRanges value to set.public List<String> remoteAddressRanges()
public TrafficSelectorPolicy withRemoteAddressRanges(List<String> remoteAddressRanges)
remoteAddressRanges - the remoteAddressRanges value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.