Class HopLink
java.lang.Object
com.azure.resourcemanager.network.models.HopLink
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HopLink>
Hop link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Get the context property: Provides additional context on links.static HopLinkfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HopLink from the JsonReader.issues()Get the issues property: List of issues.linkType()Get the linkType property: Link type.Get the nextHopId property: The ID of the next hop.Get the resourceId property: Resource ID.Get the roundTripTimeAvg property: Average roundtrip time in milliseconds.Get the roundTripTimeMax property: Maximum roundtrip time in milliseconds.Get the roundTripTimeMin property: Minimum roundtrip time in milliseconds.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HopLink
public HopLink()Creates an instance of HopLink class.
-
-
Method Details
-
nextHopId
Get the nextHopId property: The ID of the next hop.- Returns:
- the nextHopId value.
-
linkType
Get the linkType property: Link type.- Returns:
- the linkType value.
-
issues
Get the issues property: List of issues.- Returns:
- the issues value.
-
context
Get the context property: Provides additional context on links.- Returns:
- the context value.
-
resourceId
Get the resourceId property: Resource ID.- Returns:
- the resourceId value.
-
roundTripTimeMin
Get the roundTripTimeMin property: Minimum roundtrip time in milliseconds.- Returns:
- the roundTripTimeMin value.
-
roundTripTimeAvg
Get the roundTripTimeAvg property: Average roundtrip time in milliseconds.- Returns:
- the roundTripTimeAvg value.
-
roundTripTimeMax
Get the roundTripTimeMax property: Maximum roundtrip time in milliseconds.- Returns:
- the roundTripTimeMax value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HopLink>- Throws:
IOException
-
fromJson
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.
-