Class ExpressRouteCircuitRoutesTable


  • public final class ExpressRouteCircuitRoutesTable
    extends Object
    The routes table associated with the ExpressRouteCircuit.
    • Constructor Detail

      • ExpressRouteCircuitRoutesTable

        public ExpressRouteCircuitRoutesTable()
    • 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.