GatewayEffectiveRoute Class

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

Implements

public final class GatewayEffectiveRoute
implements JsonSerializable<GatewayEffectiveRoute>

Gateway effective routing details.

Method Summary

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

Get the addressPrefixes property: The list of address prefixes for the effective route.

static GatewayEffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of GatewayEffectiveRoute from the JsonReader.

String localAddress()

Get the localAddress property: The gateway's local address.

String nextHopIpAddress()

Get the nextHopIpAddress property: The IP address of the next hop for the effective route.

GatewayEffectiveRouteNextHopType nextHopType()

Get the nextHopType property: The next hop type of the effective 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 for the effective route.

Returns:

the addressPrefixes value.

fromJson

public static GatewayEffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of GatewayEffectiveRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

localAddress

public String localAddress()

Get the localAddress property: The gateway's local address.

Returns:

the localAddress value.

nextHopIpAddress

public String nextHopIpAddress()

Get the nextHopIpAddress property: The IP address of the next hop for the effective route.

Returns:

the nextHopIpAddress value.

nextHopType

public GatewayEffectiveRouteNextHopType nextHopType()

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

Returns:

the nextHopType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to