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 Details

    • AzureReachabilityReportLatencyInfo

      public AzureReachabilityReportLatencyInfo()
      Creates an instance of AzureReachabilityReportLatencyInfo class.
  • Method Details

    • 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.