Class LatencyScorecardProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.LatencyScorecardProperties
Defines a the properties of a Latency Scorecard.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LatencyScorecardProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncountry()
Get the country property: The country associated with the Latency Scorecard.Get the description property: The description of the Latency Scorecard.Get the endDateTimeUtc property: The end time of the Latency Scorecard in UTC.Get the endpointA property: The A endpoint in the scorecard.Get the endpointB property: The B endpoint in the scorecard.id()
Get the id property: The unique identifier of the Latency Scorecard.Get the latencyMetrics property: The latency metrics of the Latency Scorecard.name()
Get the name property: The name of the Latency Scorecard.Get the startDateTimeUtc property: The start time of the Latency Scorecard in UTC.void
validate()
Validates the instance.withLatencyMetrics
(List<LatencyMetric> latencyMetrics) Set the latencyMetrics property: The latency metrics of the Latency Scorecard.
-
Constructor Details
-
LatencyScorecardProperties
public LatencyScorecardProperties()Creates an instance of LatencyScorecardProperties class.
-
-
Method Details
-
id
Get the id property: The unique identifier of the Latency Scorecard.- Returns:
- the id value.
-
name
Get the name property: The name of the Latency Scorecard.- Returns:
- the name value.
-
description
Get the description property: The description of the Latency Scorecard.- Returns:
- the description value.
-
endpointA
Get the endpointA property: The A endpoint in the scorecard.- Returns:
- the endpointA value.
-
endpointB
Get the endpointB property: The B endpoint in the scorecard.- Returns:
- the endpointB value.
-
startDateTimeUtc
Get the startDateTimeUtc property: The start time of the Latency Scorecard in UTC.- Returns:
- the startDateTimeUtc value.
-
endDateTimeUtc
Get the endDateTimeUtc property: The end time of the Latency Scorecard in UTC.- Returns:
- the endDateTimeUtc value.
-
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
Get the latencyMetrics property: The latency metrics of the Latency Scorecard.- Returns:
- the latencyMetrics value.
-
withLatencyMetrics
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.
-