RouteSourceDetails Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. RouteSourceDetails
- com.
Implements
public final class RouteSourceDetails
implements JsonSerializable<RouteSourceDetails>
The RouteSourceDetails model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
circuit()
Get the circuit property: Express Route Circuit identifier. |
|
static
Route |
fromJson(JsonReader jsonReader)
Reads an instance of Route |
| String |
pri()
Get the pri property: Flag to indicate if the route learned from the primary device is active or passive. |
| String |
sec()
Get the sec property: Flag to indicate if the route learned from the secondary device is active or passive. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
circuit
public String circuit()
Get the circuit property: Express Route Circuit identifier.
Returns:
fromJson
public static RouteSourceDetails fromJson(JsonReader jsonReader)
Reads an instance of RouteSourceDetails from the JsonReader.
Parameters:
Returns:
Throws:
pri
public String pri()
Get the pri property: Flag to indicate if the route learned from the primary device is active or passive.
Returns:
sec
public String sec()
Get the sec property: Flag to indicate if the route learned from the secondary device is active or passive.
Returns:
toJson
validate
public void validate()
Validates the instance.