Class AzureReachabilityReportLatencyInfo
- java.lang.Object
-
- com.azure.resourcemanager.network.models.AzureReachabilityReportLatencyInfo
-
public final class AzureReachabilityReportLatencyInfo extends Object
Details on latency for a time series.
-
-
Constructor Summary
Constructors Constructor Description AzureReachabilityReportLatencyInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerscore()Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.OffsetDateTimetimestamp()Get the timestamp property: The time stamp.voidvalidate()Validates the instance.AzureReachabilityReportLatencyInfowithScore(Integer score)Set the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.AzureReachabilityReportLatencyInfowithTimestamp(OffsetDateTime timestamp)Set the timestamp property: The time stamp.
-
-
-
Method Detail
-
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The time stamp.- Returns:
- the timestamp value.
-
withTimestamp
public AzureReachabilityReportLatencyInfo withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time stamp.- Parameters:
timestamp- the timestamp value to set.- Returns:
- the AzureReachabilityReportLatencyInfo object itself.
-
score
public Integer score()
Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.- Returns:
- the score value.
-
withScore
public AzureReachabilityReportLatencyInfo withScore(Integer score)
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.
-
-