Class ExpressRouteCircuitRoutesTableSummary
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExpressRouteCircuitRoutesTableSummary
-
public final class ExpressRouteCircuitRoutesTableSummary extends Object
The routes table associated with the ExpressRouteCircuit.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitRoutesTableSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integeras()Get the as property: Autonomous system number.Stringneighbor()Get the neighbor property: IP address of the neighbor.StringstatePfxRcd()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.StringupDown()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.Integerv()Get the v property: BGP version number spoken to the neighbor.voidvalidate()Validates the instance.ExpressRouteCircuitRoutesTableSummarywithAs(Integer as)Set the as property: Autonomous system number.ExpressRouteCircuitRoutesTableSummarywithNeighbor(String neighbor)Set the neighbor property: IP address of the neighbor.ExpressRouteCircuitRoutesTableSummarywithStatePfxRcd(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.ExpressRouteCircuitRoutesTableSummarywithUpDown(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.ExpressRouteCircuitRoutesTableSummarywithV(Integer v)Set the v property: BGP version number spoken to the neighbor.
-
-
-
Method Detail
-
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
public ExpressRouteCircuitRoutesTableSummary withV(Integer v)
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
public ExpressRouteCircuitRoutesTableSummary withAs(Integer as)
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.
-
-