NextHopResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.NextHopResultInner

Implements

public final class NextHopResultInner
implements JsonSerializable<NextHopResultInner>

The information about next hop from the specified VM.

Method Summary

Modifier and Type Method and Description
static NextHopResultInner fromJson(JsonReader jsonReader)

Reads an instance of NextHopResultInner from the JsonReader.

String nextHopIpAddress()

Get the nextHopIpAddress property: Next hop IP Address.

NextHopType nextHopType()

Get the nextHopType property: Next hop type.

String routeTableId()

Get the routeTableId property: The resource identifier for the route table associated with the route being returned.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static NextHopResultInner fromJson(JsonReader jsonReader)

Reads an instance of NextHopResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextHopIpAddress

public String nextHopIpAddress()

Get the nextHopIpAddress property: Next hop IP Address.

Returns:

the nextHopIpAddress value.

nextHopType

public NextHopType nextHopType()

Get the nextHopType property: Next hop type.

Returns:

the nextHopType value.

routeTableId

public String routeTableId()

Get the routeTableId property: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'.

Returns:

the routeTableId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to