Class HubRouteTableProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.HubRouteTableProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HubRouteTableProperties>
public final class HubRouteTableProperties
extends Object
implements com.azure.json.JsonSerializable<HubRouteTableProperties>
Parameters for RouteTable.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of HubRouteTableProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the associatedConnections property: List of all connections associated with this route table.static HubRouteTablePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HubRouteTableProperties from the JsonReader.labels()Get the labels property: List of labels associated with this route table.Get the propagatingConnections property: List of all connections that advertise to this route table.Get the provisioningState property: The provisioning state of the RouteTable resource.routes()Get the routes property: List of all routes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withLabels(List<String> labels) Set the labels property: List of labels associated with this route table.withRoutes(List<HubRoute> routes) Set the routes property: List of all routes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HubRouteTableProperties
public HubRouteTableProperties()Creates an instance of HubRouteTableProperties 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 HubRouteTableProperties object itself.
-
labels
Get the labels property: List of labels associated with this route table.- Returns:
- the labels value.
-
withLabels
Set the labels property: List of labels associated with this route table.- Parameters:
labels- the labels value to set.- Returns:
- the HubRouteTableProperties object itself.
-
associatedConnections
Get the associatedConnections property: List of all connections associated with this route table.- Returns:
- the associatedConnections value.
-
propagatingConnections
Get the propagatingConnections property: List of all connections that advertise to this route table.- Returns:
- the propagatingConnections value.
-
provisioningState
Get the provisioningState property: The provisioning state of the RouteTable resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HubRouteTableProperties>- Throws:
IOException
-
fromJson
public static HubRouteTableProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of HubRouteTableProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HubRouteTableProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the HubRouteTableProperties.
-