Class ExpressRouteCircuitRoutesTable
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExpressRouteCircuitRoutesTable
-
public final class ExpressRouteCircuitRoutesTable extends Object
The routes table associated with the ExpressRouteCircuit.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitRoutesTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlocPrf()Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.Stringnetwork()Get the network property: IP address of a network entity.StringnextHop()Get the nextHop property: NextHop address.Stringpath()Get the path property: Autonomous system paths to the destination network.voidvalidate()Validates the instance.Integerweight()Get the weight property: Route Weight.ExpressRouteCircuitRoutesTablewithLocPrf(String locPrf)Set the locPrf property: Local preference value as set with the set local-preference route-map configuration command.ExpressRouteCircuitRoutesTablewithNetwork(String network)Set the network property: IP address of a network entity.ExpressRouteCircuitRoutesTablewithNextHop(String nextHop)Set the nextHop property: NextHop address.ExpressRouteCircuitRoutesTablewithPath(String path)Set the path property: Autonomous system paths to the destination network.ExpressRouteCircuitRoutesTablewithWeight(Integer weight)Set the weight property: Route Weight.
-
-
-
Method Detail
-
network
public String network()
Get the network property: IP address of a network entity.- Returns:
- the network value.
-
withNetwork
public ExpressRouteCircuitRoutesTable withNetwork(String network)
Set the network property: IP address of a network entity.- Parameters:
network- the network value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
nextHop
public String nextHop()
Get the nextHop property: NextHop address.- Returns:
- the nextHop value.
-
withNextHop
public ExpressRouteCircuitRoutesTable withNextHop(String nextHop)
Set the nextHop property: NextHop address.- Parameters:
nextHop- the nextHop value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
locPrf
public String locPrf()
Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.- Returns:
- the locPrf value.
-
withLocPrf
public ExpressRouteCircuitRoutesTable withLocPrf(String locPrf)
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
public Integer weight()
Get the weight property: Route Weight.- Returns:
- the weight value.
-
withWeight
public ExpressRouteCircuitRoutesTable withWeight(Integer weight)
Set the weight property: Route Weight.- Parameters:
weight- the weight value to set.- Returns:
- the ExpressRouteCircuitRoutesTable object itself.
-
path
public String path()
Get the path property: Autonomous system paths to the destination network.- Returns:
- the path value.
-
withPath
public ExpressRouteCircuitRoutesTable withPath(String path)
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.
-
-