Class ConnectivityInformationInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ConnectivityInformationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectivityInformationInner>
public final class ConnectivityInformationInner
extends Object
implements com.azure.json.JsonSerializable<ConnectivityInformationInner>
Information on the connectivity status.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectivityInformationInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the avgLatencyInMs property: Average latency in milliseconds.Get the connectionStatus property: The connection status.static ConnectivityInformationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectivityInformationInner from the JsonReader.hops()Get the hops property: List of hops between the source and the destination.Get the maxLatencyInMs property: Maximum latency in milliseconds.Get the minLatencyInMs property: Minimum latency in milliseconds.Get the probesFailed property: Number of failed probes.Get the probesSent property: Total number of probes sent.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
-
ConnectivityInformationInner
public ConnectivityInformationInner()Creates an instance of ConnectivityInformationInner class.
-
-
Method Details
-
hops
Get the hops property: List of hops between the source and the destination.- Returns:
- the hops value.
-
connectionStatus
Get the connectionStatus property: The connection status.- Returns:
- the connectionStatus value.
-
avgLatencyInMs
Get the avgLatencyInMs property: Average latency in milliseconds.- Returns:
- the avgLatencyInMs value.
-
minLatencyInMs
Get the minLatencyInMs property: Minimum latency in milliseconds.- Returns:
- the minLatencyInMs value.
-
maxLatencyInMs
Get the maxLatencyInMs property: Maximum latency in milliseconds.- Returns:
- the maxLatencyInMs value.
-
probesSent
Get the probesSent property: Total number of probes sent.- Returns:
- the probesSent value.
-
probesFailed
Get the probesFailed property: Number of failed probes.- Returns:
- the probesFailed 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<ConnectivityInformationInner>- Throws:
IOException
-
fromJson
public static ConnectivityInformationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConnectivityInformationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConnectivityInformationInner 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 ConnectivityInformationInner.
-