EffectiveRouteMapRoute Class

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

Implements

public final class EffectiveRouteMapRoute
implements JsonSerializable<EffectiveRouteMapRoute>

The effective RouteMap route configured on the connection resource.

Method Summary

Modifier and Type Method and Description
String asPath()

Get the asPath property: The ASPath of this route.

String bgpCommunities()

Get the bgpCommunities property: BGP communities of the route.

static EffectiveRouteMapRoute fromJson(JsonReader jsonReader)

Reads an instance of EffectiveRouteMapRoute from the JsonReader.

String prefix()

Get the prefix property: The address prefix of the route.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

asPath

public String asPath()

Get the asPath property: The ASPath of this route.

Returns:

the asPath value.

bgpCommunities

public String bgpCommunities()

Get the bgpCommunities property: BGP communities of the route.

Returns:

the bgpCommunities value.

fromJson

public static EffectiveRouteMapRoute fromJson(JsonReader jsonReader)

Reads an instance of EffectiveRouteMapRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

prefix

public String prefix()

Get the prefix property: The address prefix of the route.

Returns:

the prefix value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to