ExpressRouteCrossConnectionRoutesTableSummary Class

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

Implements

public final class ExpressRouteCrossConnectionRoutesTableSummary
implements JsonSerializable<ExpressRouteCrossConnectionRoutesTableSummary>

The routes table associated with the ExpressRouteCircuit.

Constructor Summary

Constructor Description
ExpressRouteCrossConnectionRoutesTableSummary()

Creates an instance of ExpressRouteCrossConnectionRoutesTableSummary class.

Method Summary

Modifier and Type Method and Description
Integer asn()

Get the asn property: Autonomous system number.

static ExpressRouteCrossConnectionRoutesTableSummary fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCrossConnectionRoutesTableSummary from the JsonReader.

String neighbor()

Get the neighbor property: IP address of Neighbor router.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

void validate()

Validates the instance.

ExpressRouteCrossConnectionRoutesTableSummary withAsn(Integer asn)

Set the asn property: Autonomous system number.

ExpressRouteCrossConnectionRoutesTableSummary withNeighbor(String neighbor)

Set the neighbor property: IP address of Neighbor router.

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.

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.

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:

the asn value.

fromJson

public static ExpressRouteCrossConnectionRoutesTableSummary fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCrossConnectionRoutesTableSummary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCrossConnectionRoutesTableSummary if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressRouteCrossConnectionRoutesTableSummary.

neighbor

public String neighbor()

Get the neighbor property: IP address of Neighbor router.

Returns:

the neighbor value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to