public class WebtestLocationAvailabilityCriteria extends MetricAlertCriteria
| Constructor and Description |
|---|
WebtestLocationAvailabilityCriteria() |
| Modifier and Type | Method and Description |
|---|---|
String |
componentId()
Get the componentId property: The Application Insights resource Id.
|
float |
failedLocationCount()
Get the failedLocationCount property: The number of failed locations.
|
void |
validate()
Validates the instance.
|
String |
webTestId()
Get the webTestId property: The Application Insights web test Id.
|
WebtestLocationAvailabilityCriteria |
withComponentId(String componentId)
Set the componentId property: The Application Insights resource Id.
|
WebtestLocationAvailabilityCriteria |
withFailedLocationCount(float failedLocationCount)
Set the failedLocationCount property: The number of failed locations.
|
WebtestLocationAvailabilityCriteria |
withWebTestId(String webTestId)
Set the webTestId property: The Application Insights web test Id.
|
additionalProperties, withAdditionalPropertiespublic String webTestId()
public WebtestLocationAvailabilityCriteria withWebTestId(String webTestId)
webTestId - the webTestId value to set.public String componentId()
public WebtestLocationAvailabilityCriteria withComponentId(String componentId)
componentId - the componentId value to set.public float failedLocationCount()
public WebtestLocationAvailabilityCriteria withFailedLocationCount(float failedLocationCount)
failedLocationCount - the failedLocationCount value to set.public void validate()
validate in class MetricAlertCriteriaIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.