Class WebTestGeolocation
java.lang.Object
com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation
Geo-physical location to run a web test from. You must specify one or more locations for the test to run from.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Location ID for the webtest to run from.void
validate()
Validates the instance.withLocation
(String location) Set the location property: Location ID for the webtest to run from.
-
Constructor Details
-
WebTestGeolocation
public WebTestGeolocation()
-
-
Method Details
-
location
Get the location property: Location ID for the webtest to run from.- Returns:
- the location value.
-
withLocation
Set the location property: Location ID for the webtest to run from.- Parameters:
location
- the location value to set.- Returns:
- the WebTestGeolocation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-