Class ExpressRouteCrossConnectionRoutesTableSummary
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteCrossConnectionRoutesTableSummary
The routes table associated with the ExpressRouteCircuit.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteCrossConnectionRoutesTableSummary class. -
Method Summary
Modifier and TypeMethodDescriptionasn()Get the asn property: Autonomous system number.neighbor()Get the neighbor property: IP address of Neighbor router.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.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.voidvalidate()Validates the instance.Set the asn property: Autonomous system number.withNeighbor(String neighbor) Set the neighbor property: IP address of Neighbor router.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.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.
-
Constructor Details
-
ExpressRouteCrossConnectionRoutesTableSummary
public ExpressRouteCrossConnectionRoutesTableSummary()Creates an instance of ExpressRouteCrossConnectionRoutesTableSummary class.
-
-
Method Details
-
neighbor
Get the neighbor property: IP address of Neighbor router.- Returns:
- the neighbor value.
-
withNeighbor
Set the neighbor property: IP address of Neighbor router.- Parameters:
neighbor- the neighbor value to set.- Returns:
- the ExpressRouteCrossConnectionRoutesTableSummary object itself.
-
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
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
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.
-