VirtualHubEffectiveRoute Class

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

Implements

public final class VirtualHubEffectiveRoute
implements JsonSerializable<VirtualHubEffectiveRoute>

The effective route configured on the virtual hub or specified resource.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: The list of address prefixes.

String asPath()

Get the asPath property: The ASPath of this route.

static VirtualHubEffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of VirtualHubEffectiveRoute from the JsonReader.

List<String> nextHops()

Get the nextHops property: The list of next hops.

String nextHopType()

Get the nextHopType property: The type of the next hop.

String routeOrigin()

Get the routeOrigin property: The origin of this route.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

addressPrefixes

public List<String> addressPrefixes()

Get the addressPrefixes property: The list of address prefixes.

Returns:

the addressPrefixes value.

asPath

public String asPath()

Get the asPath property: The ASPath of this route.

Returns:

the asPath value.

fromJson

public static VirtualHubEffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of VirtualHubEffectiveRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextHops

public List<String> nextHops()

Get the nextHops property: The list of next hops.

Returns:

the nextHops value.

nextHopType

public String nextHopType()

Get the nextHopType property: The type of the next hop.

Returns:

the nextHopType value.

routeOrigin

public String routeOrigin()

Get the routeOrigin property: The origin of this route.

Returns:

the routeOrigin value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to