Class LatencyScorecardProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.LatencyScorecardProperties

public final class LatencyScorecardProperties extends Object
Defines a the properties of a Latency Scorecard.
  • Constructor Details

    • LatencyScorecardProperties

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

    • id

      public String id()
      Get the id property: The unique identifier of the Latency Scorecard.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the Latency Scorecard.
      Returns:
      the name value.
    • description

      public String description()
      Get the description property: The description of the Latency Scorecard.
      Returns:
      the description value.
    • endpointA

      public String endpointA()
      Get the endpointA property: The A endpoint in the scorecard.
      Returns:
      the endpointA value.
    • endpointB

      public String endpointB()
      Get the endpointB property: The B endpoint in the scorecard.
      Returns:
      the endpointB value.
    • startDateTimeUtc

      public OffsetDateTime startDateTimeUtc()
      Get the startDateTimeUtc property: The start time of the Latency Scorecard in UTC.
      Returns:
      the startDateTimeUtc value.
    • endDateTimeUtc

      public OffsetDateTime endDateTimeUtc()
      Get the endDateTimeUtc property: The end time of the Latency Scorecard in UTC.
      Returns:
      the endDateTimeUtc value.
    • country

      public String country()
      Get the country property: The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html.
      Returns:
      the country value.
    • latencyMetrics

      public List<LatencyMetric> latencyMetrics()
      Get the latencyMetrics property: The latency metrics of the Latency Scorecard.
      Returns:
      the latencyMetrics value.
    • withLatencyMetrics

      public LatencyScorecardProperties withLatencyMetrics(List<LatencyMetric> latencyMetrics)
      Set the latencyMetrics property: The latency metrics of the Latency Scorecard.
      Parameters:
      latencyMetrics - the latencyMetrics value to set.
      Returns:
      the LatencyScorecardProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.