Class VirtualHubRouteTable
java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubRouteTable
VirtualHub route table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionroutes()Get the routes property: List of all routes.voidvalidate()Validates the instance.withRoutes(List<VirtualHubRoute> routes) Set the routes property: List of all routes.
-
Constructor Details
-
VirtualHubRouteTable
public VirtualHubRouteTable()Creates an instance of VirtualHubRouteTable class.
-
-
Method Details
-
routes
Get the routes property: List of all routes.- Returns:
- the routes value.
-
withRoutes
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.
-