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 Summary
Constructors Constructor Description ExpressRouteCrossConnectionRoutesTableSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerasn()Get the asn property: Autonomous system number.Stringneighbor()Get the neighbor property: IP address of Neighbor router.StringstateOrPrefixesReceived()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.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.voidvalidate()Validates the instance.ExpressRouteCrossConnectionRoutesTableSummarywithAsn(Integer asn)Set the asn property: Autonomous system number.ExpressRouteCrossConnectionRoutesTableSummarywithNeighbor(String neighbor)Set the neighbor property: IP address of Neighbor router.ExpressRouteCrossConnectionRoutesTableSummarywithStateOrPrefixesReceived(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.ExpressRouteCrossConnectionRoutesTableSummarywithUpDown(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.
-
-
-
Method Detail
-
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
public ExpressRouteCrossConnectionRoutesTableSummary withAsn(Integer asn)
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
public ExpressRouteCrossConnectionRoutesTableSummary 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 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.
-
-