Class VirtualHubRouteTable
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VirtualHubRouteTable
-
public final class VirtualHubRouteTable extends Object
VirtualHub route table.
-
-
Constructor Summary
Constructors Constructor Description VirtualHubRouteTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VirtualHubRoute>routes()Get the routes property: List of all routes.voidvalidate()Validates the instance.VirtualHubRouteTablewithRoutes(List<VirtualHubRoute> routes)Set the routes property: List of all routes.
-
-
-
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.
-
-