Class ExpressRouteCrossConnectionRoutesTableSummary

java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteCrossConnectionRoutesTableSummary

public final class ExpressRouteCrossConnectionRoutesTableSummary extends Object
The routes table associated with the ExpressRouteCircuit.
  • Constructor Details

    • ExpressRouteCrossConnectionRoutesTableSummary

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

    • neighbor

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

      public ExpressRouteCrossConnectionRoutesTableSummary withNeighbor(String neighbor)
      Set the neighbor property: IP address of Neighbor router.
      Parameters:
      neighbor - the neighbor value to set.
      Returns:
      the ExpressRouteCrossConnectionRoutesTableSummary object itself.
    • asn

      public Integer asn()
      Get the asn property: Autonomous system number.
      Returns:
      the asn value.
    • withAsn

      Set the asn property: Autonomous system number.
      Parameters:
      asn - the asn value to set.
      Returns:
      the ExpressRouteCrossConnectionRoutesTableSummary 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

      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 ExpressRouteCrossConnectionRoutesTableSummary object itself.
    • stateOrPrefixesReceived

      public String stateOrPrefixesReceived()
      Get the stateOrPrefixesReceived property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
      Returns:
      the stateOrPrefixesReceived value.
    • withStateOrPrefixesReceived

      public ExpressRouteCrossConnectionRoutesTableSummary withStateOrPrefixesReceived(String stateOrPrefixesReceived)
      Set the stateOrPrefixesReceived property: Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
      Parameters:
      stateOrPrefixesReceived - the stateOrPrefixesReceived value to set.
      Returns:
      the ExpressRouteCrossConnectionRoutesTableSummary object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.