public final class VirtualHubRoute extends Object
| Constructor and Description |
|---|
VirtualHubRoute() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addressPrefixes()
Get the addressPrefixes property: List of all addressPrefixes.
|
String |
nextHopIpAddress()
Get the nextHopIpAddress property: NextHop ip address.
|
void |
validate()
Validates the instance.
|
VirtualHubRoute |
withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: List of all addressPrefixes.
|
VirtualHubRoute |
withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: NextHop ip address.
|
public List<String> addressPrefixes()
public VirtualHubRoute withAddressPrefixes(List<String> addressPrefixes)
addressPrefixes - the addressPrefixes value to set.public String nextHopIpAddress()
public VirtualHubRoute withNextHopIpAddress(String nextHopIpAddress)
nextHopIpAddress - the nextHopIpAddress value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.