HopLink Class

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

Implements

public final class HopLink
implements JsonSerializable<HopLink>

Hop link.

Method Summary

Modifier and Type Method and Description
Map<String,String> context()

Get the context property: Provides additional context on links.

static HopLink fromJson(JsonReader jsonReader)

Reads an instance of HopLink from the JsonReader.

List<ConnectivityIssue> issues()

Get the issues property: List of issues.

String linkType()

Get the linkType property: Link type.

String nextHopId()

Get the nextHopId property: The ID of the next hop.

String resourceId()

Get the resourceId property: Resource ID.

Long roundTripTimeAvg()

Get the roundTripTimeAvg property: Average roundtrip time in milliseconds.

Long roundTripTimeMax()

Get the roundTripTimeMax property: Maximum roundtrip time in milliseconds.

Long roundTripTimeMin()

Get the roundTripTimeMin property: Minimum roundtrip time in milliseconds.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

public Map<String,String> context()

Get the context property: Provides additional context on links.

Returns:

the context value.

public static HopLink fromJson(JsonReader jsonReader)

Reads an instance of HopLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public List<ConnectivityIssue> issues()

Get the issues property: List of issues.

Returns:

the issues value.

public String linkType()

Get the linkType property: Link type.

Returns:

the linkType value.

public String nextHopId()

Get the nextHopId property: The ID of the next hop.

Returns:

the nextHopId value.

public String resourceId()

Get the resourceId property: Resource ID.

Returns:

the resourceId value.

public Long roundTripTimeAvg()

Get the roundTripTimeAvg property: Average roundtrip time in milliseconds.

Returns:

the roundTripTimeAvg value.

public Long roundTripTimeMax()

Get the roundTripTimeMax property: Maximum roundtrip time in milliseconds.

Returns:

the roundTripTimeMax value.

public Long roundTripTimeMin()

Get the roundTripTimeMin property: Minimum roundtrip time in milliseconds.

Returns:

the roundTripTimeMin value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public void validate()

Validates the instance.

Applies to