Class AzureReachabilityReportLatencyInfo
java.lang.Object
com.azure.resourcemanager.network.models.AzureReachabilityReportLatencyInfo
Details on latency for a time series.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureReachabilityReportLatencyInfo class. -
Method Summary
Modifier and TypeMethodDescriptionscore()Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.Get the timestamp property: The time stamp.voidvalidate()Validates the instance.Set the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.withTimestamp(OffsetDateTime timestamp) Set the timestamp property: The time stamp.
-
Constructor Details
-
AzureReachabilityReportLatencyInfo
public AzureReachabilityReportLatencyInfo()Creates an instance of AzureReachabilityReportLatencyInfo class.
-
-
Method Details
-
timestamp
Get the timestamp property: The time stamp.- Returns:
- the timestamp value.
-
withTimestamp
Set the timestamp property: The time stamp.- Parameters:
timestamp- the timestamp value to set.- Returns:
- the AzureReachabilityReportLatencyInfo object itself.
-
score
Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.- Returns:
- the score value.
-
withScore
Set the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.- Parameters:
score- the score value to set.- Returns:
- the AzureReachabilityReportLatencyInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-