Class VirtualHubRouteTable


  • public final class VirtualHubRouteTable
    extends Object
    VirtualHub route table.
    • Constructor Detail

      • VirtualHubRouteTable

        public VirtualHubRouteTable()
    • Method Detail

      • routes

        public List<VirtualHubRoute> routes()
        Get the routes property: List of all routes.
        Returns:
        the routes value.
      • withRoutes

        public VirtualHubRouteTable withRoutes​(List<VirtualHubRoute> routes)
        Set the routes property: List of all routes.
        Parameters:
        routes - the routes value to set.
        Returns:
        the VirtualHubRouteTable object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.