Class VirtualHubEffectiveRoute
java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubEffectiveRoute
The effective route configured on the virtual hub or specified resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualHubEffectiveRoute class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefixes property: The list of address prefixes.asPath()Get the asPath property: The ASPath of this route.nextHops()Get the nextHops property: The list of next hops.Get the nextHopType property: The type of the next hop.Get the routeOrigin property: The origin of this route.voidvalidate()Validates the instance.withAddressPrefixes(List<String> addressPrefixes) Set the addressPrefixes property: The list of address prefixes.withAsPath(String asPath) Set the asPath property: The ASPath of this route.withNextHops(List<String> nextHops) Set the nextHops property: The list of next hops.withNextHopType(String nextHopType) Set the nextHopType property: The type of the next hop.withRouteOrigin(String routeOrigin) Set the routeOrigin property: The origin of this route.
-
Constructor Details
-
VirtualHubEffectiveRoute
public VirtualHubEffectiveRoute()Creates an instance of VirtualHubEffectiveRoute class.
-
-
Method Details
-
addressPrefixes
Get the addressPrefixes property: The list of address prefixes.- Returns:
- the addressPrefixes value.
-
withAddressPrefixes
Set the addressPrefixes property: The list of address prefixes.- Parameters:
addressPrefixes- the addressPrefixes value to set.- Returns:
- the VirtualHubEffectiveRoute object itself.
-
nextHops
Get the nextHops property: The list of next hops.- Returns:
- the nextHops value.
-
withNextHops
Set the nextHops property: The list of next hops.- Parameters:
nextHops- the nextHops value to set.- Returns:
- the VirtualHubEffectiveRoute object itself.
-
nextHopType
Get the nextHopType property: The type of the next hop.- Returns:
- the nextHopType value.
-
withNextHopType
Set the nextHopType property: The type of the next hop.- Parameters:
nextHopType- the nextHopType value to set.- Returns:
- the VirtualHubEffectiveRoute object itself.
-
asPath
Get the asPath property: The ASPath of this route.- Returns:
- the asPath value.
-
withAsPath
Set the asPath property: The ASPath of this route.- Parameters:
asPath- the asPath value to set.- Returns:
- the VirtualHubEffectiveRoute object itself.
-
routeOrigin
Get the routeOrigin property: The origin of this route.- Returns:
- the routeOrigin value.
-
withRouteOrigin
Set the routeOrigin property: The origin of this route.- Parameters:
routeOrigin- the routeOrigin value to set.- Returns:
- the VirtualHubEffectiveRoute object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-