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 Details

    • ExpressRouteCircuitRoutesTableSummary

      public ExpressRouteCircuitRoutesTableSummary()
      Creates an instance of ExpressRouteCircuitRoutesTableSummary class.
  • Method Details

    • neighbor

      public String neighbor()
      Get the neighbor property: IP address of the neighbor.
      Returns:
      the neighbor value.
    • withNeighbor

      public ExpressRouteCircuitRoutesTableSummary withNeighbor(String neighbor)
      Set the neighbor property: IP address of the neighbor.
      Parameters:
      neighbor - the neighbor value to set.
      Returns:
      the ExpressRouteCircuitRoutesTableSummary object itself.
    • v

      public Integer 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

      public Integer 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

      public String 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

      public ExpressRouteCircuitRoutesTableSummary 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.
      Parameters:
      upDown - the upDown value to set.
      Returns:
      the ExpressRouteCircuitRoutesTableSummary object itself.
    • statePfxRcd

      public String 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

      public ExpressRouteCircuitRoutesTableSummary 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.
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.