VirtualHubRouteTable Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualHubRouteTable
- com.
Implements
public final class VirtualHubRouteTable
implements JsonSerializable<VirtualHubRouteTable>
VirtualHub route table.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubRouteTable() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
List<Virtual |
routes()
Get the routes property: List of all routes. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withRoutes(List<VirtualHubRoute> routes)
Set the routes property: List of all routes. |
Methods inherited from java.lang.Object
Constructor Details
VirtualHubRouteTable
public VirtualHubRouteTable()
Creates an instance of VirtualHubRouteTable class.
Method Details
fromJson
public static VirtualHubRouteTable fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubRouteTable from the JsonReader.
Parameters:
Returns:
Throws:
routes
public List
Get the routes property: List of all routes.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRoutes
public VirtualHubRouteTable withRoutes(List
Set the routes property: List of all routes.
Parameters:
Returns:
Applies to
Azure SDK for Java