ExpressRouteCrossConnectionRoutesTableSummary Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ExpressRouteCrossConnectionRoutesTableSummary
- com.
Implements
public final class ExpressRouteCrossConnectionRoutesTableSummary
implements JsonSerializable<ExpressRouteCrossConnectionRoutesTableSummary>
The routes table associated with the ExpressRouteCircuit.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteCrossConnectionRoutesTableSummary() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
asn()
Get the asn property: Autonomous system number. |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
neighbor()
Get the neighbor property: IP address of Neighbor router. |
String |
stateOrPrefixesReceived()
Get the state |
Json |
toJson(JsonWriter jsonWriter) |
String |
upDown()
Get the up |
void |
validate()
Validates the instance. |
Express |
withAsn(Integer asn)
Set the asn property: Autonomous system number. |
Express |
withNeighbor(String neighbor)
Set the neighbor property: IP address of Neighbor router. |
Express |
withStateOrPrefixesReceived(String stateOrPrefixesReceived)
Set the state |
Express |
withUpDown(String upDown)
Set the up |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCrossConnectionRoutesTableSummary
public ExpressRouteCrossConnectionRoutesTableSummary()
Creates an instance of ExpressRouteCrossConnectionRoutesTableSummary class.
Method Details
asn
public Integer asn()
Get the asn property: Autonomous system number.
Returns:
fromJson
public static ExpressRouteCrossConnectionRoutesTableSummary fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteCrossConnectionRoutesTableSummary from the JsonReader.
Parameters:
Returns:
Throws:
neighbor
public String neighbor()
Get the neighbor property: IP address of Neighbor router.
Returns:
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:
toJson
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:
validate
public void validate()
Validates the instance.
withAsn
public ExpressRouteCrossConnectionRoutesTableSummary withAsn(Integer asn)
Set the asn property: Autonomous system number.
Parameters:
Returns:
withNeighbor
public ExpressRouteCrossConnectionRoutesTableSummary withNeighbor(String neighbor)
Set the neighbor property: IP address of Neighbor router.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java