Class VirtualHubRouteTable

java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubRouteTable

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

    • VirtualHubRouteTable

      public VirtualHubRouteTable()
      Creates an instance of VirtualHubRouteTable class.
  • Method Details

    • 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.