Class WebTestGeolocation
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation
-
public final class WebTestGeolocation extends Object
Geo-physical location to run a web test from. You must specify one or more locations for the test to run from.
-
-
Constructor Summary
Constructors Constructor Description WebTestGeolocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
location()
Get the location property: Location ID for the webtest to run from.void
validate()
Validates the instance.WebTestGeolocation
withLocation(String location)
Set the location property: Location ID for the webtest to run from.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Location ID for the webtest to run from.- Returns:
- the location value.
-
withLocation
public WebTestGeolocation withLocation(String location)
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.
-
-