ConnectivityInformationInner Class

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

Implements

public final class ConnectivityInformationInner
implements JsonSerializable<ConnectivityInformationInner>

Information on the connectivity status.

Constructor Summary

Constructor Description
ConnectivityInformationInner()

Creates an instance of ConnectivityInformationInner class.

Method Summary

Modifier and Type Method and Description
Integer avgLatencyInMs()

Get the avgLatencyInMs property: Average latency in milliseconds.

ConnectionStatus connectionStatus()

Get the connectionStatus property: The connection status.

static ConnectivityInformationInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityInformationInner from the JsonReader.

List<ConnectivityHop> hops()

Get the hops property: List of hops between the source and the destination.

Integer maxLatencyInMs()

Get the maxLatencyInMs property: Maximum latency in milliseconds.

Integer minLatencyInMs()

Get the minLatencyInMs property: Minimum latency in milliseconds.

Integer probesFailed()

Get the probesFailed property: Number of failed probes.

Integer probesSent()

Get the probesSent property: Total number of probes sent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ConnectivityInformationInner

public ConnectivityInformationInner()

Creates an instance of ConnectivityInformationInner class.

Method Details

avgLatencyInMs

public Integer avgLatencyInMs()

Get the avgLatencyInMs property: Average latency in milliseconds.

Returns:

the avgLatencyInMs value.

connectionStatus

public ConnectionStatus connectionStatus()

Get the connectionStatus property: The connection status.

Returns:

the connectionStatus value.

fromJson

public static ConnectivityInformationInner fromJson(JsonReader jsonReader)

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.

hops

public List hops()

Get the hops property: List of hops between the source and the destination.

Returns:

the hops value.

maxLatencyInMs

public Integer maxLatencyInMs()

Get the maxLatencyInMs property: Maximum latency in milliseconds.

Returns:

the maxLatencyInMs value.

minLatencyInMs

public Integer minLatencyInMs()

Get the minLatencyInMs property: Minimum latency in milliseconds.

Returns:

the minLatencyInMs value.

probesFailed

public Integer probesFailed()

Get the probesFailed property: Number of failed probes.

Returns:

the probesFailed value.

probesSent

public Integer probesSent()

Get the probesSent property: Total number of probes sent.

Returns:

the probesSent value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to