public final class VirtualHubEffectiveRoute extends Object
| Constructor and Description |
|---|
VirtualHubEffectiveRoute() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addressPrefixes()
Get the addressPrefixes property: The list of address prefixes.
|
String |
asPath()
Get the asPath property: The ASPath of this route.
|
List<String> |
nextHops()
Get the nextHops property: The list of next hops.
|
String |
nextHopType()
Get the nextHopType property: The type of the next hop.
|
String |
routeOrigin()
Get the routeOrigin property: The origin of this route.
|
void |
validate()
Validates the instance.
|
VirtualHubEffectiveRoute |
withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: The list of address prefixes.
|
VirtualHubEffectiveRoute |
withAsPath(String asPath)
Set the asPath property: The ASPath of this route.
|
VirtualHubEffectiveRoute |
withNextHops(List<String> nextHops)
Set the nextHops property: The list of next hops.
|
VirtualHubEffectiveRoute |
withNextHopType(String nextHopType)
Set the nextHopType property: The type of the next hop.
|
VirtualHubEffectiveRoute |
withRouteOrigin(String routeOrigin)
Set the routeOrigin property: The origin of this route.
|
public List<String> addressPrefixes()
public VirtualHubEffectiveRoute withAddressPrefixes(List<String> addressPrefixes)
addressPrefixes - the addressPrefixes value to set.public List<String> nextHops()
public VirtualHubEffectiveRoute withNextHops(List<String> nextHops)
nextHops - the nextHops value to set.public String nextHopType()
public VirtualHubEffectiveRoute withNextHopType(String nextHopType)
nextHopType - the nextHopType value to set.public String asPath()
public VirtualHubEffectiveRoute withAsPath(String asPath)
asPath - the asPath value to set.public String routeOrigin()
public VirtualHubEffectiveRoute withRouteOrigin(String routeOrigin)
routeOrigin - the routeOrigin value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.