ExpressRouteCircuitRoutesTableSummary Class

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

Implements

public final class ExpressRouteCircuitRoutesTableSummary
implements JsonSerializable<ExpressRouteCircuitRoutesTableSummary>

The routes table associated with the ExpressRouteCircuit.

Constructor Summary

Constructor Description
ExpressRouteCircuitRoutesTableSummary()

Creates an instance of ExpressRouteCircuitRoutesTableSummary class.

Method Summary

Modifier and Type Method and Description
Integer as()

Get the as property: Autonomous system number.

static ExpressRouteCircuitRoutesTableSummary fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitRoutesTableSummary from the JsonReader.

String neighbor()

Get the neighbor property: IP address of the neighbor.

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.

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.

Integer v()

Get the v property: BGP version number spoken to the neighbor.

void validate()

Validates the instance.

ExpressRouteCircuitRoutesTableSummary withAs(Integer as)

Set the as property: Autonomous system number.

ExpressRouteCircuitRoutesTableSummary withNeighbor(String neighbor)

Set the neighbor property: IP address of the neighbor.

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.

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.

ExpressRouteCircuitRoutesTableSummary withV(Integer v)

Set the v property: BGP version number spoken to the neighbor.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitRoutesTableSummary

public ExpressRouteCircuitRoutesTableSummary()

Creates an instance of ExpressRouteCircuitRoutesTableSummary class.

Method Details

as

public Integer as()

Get the as property: Autonomous system number.

Returns:

the as value.

fromJson

public static ExpressRouteCircuitRoutesTableSummary fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitRoutesTableSummary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCircuitRoutesTableSummary 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 ExpressRouteCircuitRoutesTableSummary.

neighbor

public String neighbor()

Get the neighbor property: IP address of the neighbor.

Returns:

the neighbor value.

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.

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.

v

public Integer v()

Get the v property: BGP version number spoken to the neighbor.

Returns:

the v value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to