Class ExpressRouteCircuitRoutesTableSummary
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteCircuitRoutesTableSummary
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteCircuitRoutesTableSummary>
public final class ExpressRouteCircuitRoutesTableSummary
extends Object
implements com.azure.json.JsonSerializable<ExpressRouteCircuitRoutesTableSummary>
The routes table associated with the ExpressRouteCircuit.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteCircuitRoutesTableSummary class. -
Method Summary
Modifier and TypeMethodDescriptionas()Get the as property: Autonomous system number.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteCircuitRoutesTableSummary from the JsonReader.neighbor()Get the neighbor property: IP address of the neighbor.Get the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) upDown()Get the upDown property: The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.v()Get the v property: BGP version number spoken to the neighbor.voidvalidate()Validates the instance.Set the as property: Autonomous system number.withNeighbor(String neighbor) Set the neighbor property: IP address of the neighbor.withStatePfxRcd(String statePfxRcd) Set the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.withUpDown(String upDown) Set the upDown property: The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.Set the v property: BGP version number spoken to the neighbor.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
-
ExpressRouteCircuitRoutesTableSummary
public ExpressRouteCircuitRoutesTableSummary()Creates an instance of ExpressRouteCircuitRoutesTableSummary class.
-
-
Method Details
-
neighbor
Get the neighbor property: IP address of the neighbor.- Returns:
- the neighbor value.
-
withNeighbor
Set the neighbor property: IP address of the neighbor.- Parameters:
neighbor- the neighbor value to set.- Returns:
- the ExpressRouteCircuitRoutesTableSummary object itself.
-
v
Get the v property: BGP version number spoken to the neighbor.- Returns:
- the v value.
-
withV
Set the v property: BGP version number spoken to the neighbor.- Parameters:
v- the v value to set.- Returns:
- the ExpressRouteCircuitRoutesTableSummary object itself.
-
as
Get the as property: Autonomous system number.- Returns:
- the as value.
-
withAs
Set the as property: Autonomous system number.- Parameters:
as- the as value to set.- Returns:
- the ExpressRouteCircuitRoutesTableSummary object itself.
-
upDown
Get the upDown property: The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.- Returns:
- the upDown value.
-
withUpDown
Set the upDown property: The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.- Parameters:
upDown- the upDown value to set.- Returns:
- the ExpressRouteCircuitRoutesTableSummary object itself.
-
statePfxRcd
Get the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.- Returns:
- the statePfxRcd value.
-
withStatePfxRcd
Set the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.- Parameters:
statePfxRcd- the statePfxRcd value to set.- Returns:
- the ExpressRouteCircuitRoutesTableSummary object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExpressRouteCircuitRoutesTableSummary>- Throws:
IOException
-
fromJson
public static ExpressRouteCircuitRoutesTableSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteCircuitRoutesTableSummary from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRouteCircuitRoutesTableSummary 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 ExpressRouteCircuitRoutesTableSummary.
-