Class ExpressRouteCircuitRoutesTable
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteCircuitRoutesTable
The routes table associated with the ExpressRouteCircuit.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteCircuitRoutesTable class. -
Method Summary
Modifier and TypeMethodDescriptionlocPrf()Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.network()Get the network property: IP address of a network entity.nextHop()Get the nextHop property: NextHop address.path()Get the path property: Autonomous system paths to the destination network.voidvalidate()Validates the instance.weight()Get the weight property: Route Weight.withLocPrf(String locPrf) Set the locPrf property: Local preference value as set with the set local-preference route-map configuration command.withNetwork(String network) Set the network property: IP address of a network entity.withNextHop(String nextHop) Set the nextHop property: NextHop address.Set the path property: Autonomous system paths to the destination network.withWeight(Integer weight) Set the weight property: Route Weight.
-
Constructor Details
-
ExpressRouteCircuitRoutesTable
public ExpressRouteCircuitRoutesTable()Creates an instance of ExpressRouteCircuitRoutesTable class.
-
-
Method Details
-
network
Get the network property: IP address of a network entity.- Returns:
- the network value.
-
withNetwork
Set the network property: IP address of a network entity.- Parameters:
network- the network value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
nextHop
Get the nextHop property: NextHop address.- Returns:
- the nextHop value.
-
withNextHop
Set the nextHop property: NextHop address.- Parameters:
nextHop- the nextHop value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
locPrf
Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.- Returns:
- the locPrf value.
-
withLocPrf
Set the locPrf property: Local preference value as set with the set local-preference route-map configuration command.- Parameters:
locPrf- the locPrf value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
weight
Get the weight property: Route Weight.- Returns:
- the weight value.
-
withWeight
Set the weight property: Route Weight.- Parameters:
weight- the weight value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
path
Get the path property: Autonomous system paths to the destination network.- Returns:
- the path value.
-
withPath
Set the path property: Autonomous system paths to the destination network.- Parameters:
path- the path value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-