Class ConnectivityCheckResponseInner
java.lang.Object
com.azure.resourcemanager.apimanagement.fluent.models.ConnectivityCheckResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectivityCheckResponseInner>
public final class ConnectivityCheckResponseInner
extends Object
implements com.azure.json.JsonSerializable<ConnectivityCheckResponseInner>
Information on the connectivity status.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectivityCheckResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the avgLatencyInMs property: Average latency in milliseconds.Get the connectionStatus property: The connection status.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectivityCheckResponseInner 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
-
ConnectivityCheckResponseInner
public ConnectivityCheckResponseInner()Creates an instance of ConnectivityCheckResponseInner 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<ConnectivityCheckResponseInner>- Throws:
IOException
-
fromJson
public static ConnectivityCheckResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConnectivityCheckResponseInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConnectivityCheckResponseInner 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 ConnectivityCheckResponseInner.
-