WebTestGeolocation Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. models. WebTestGeolocation
- com.
Implements
public final class WebTestGeolocation
implements JsonSerializable<WebTestGeolocation>
Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from.
Constructor Summary
| Constructor | Description |
|---|---|
| WebTestGeolocation() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| String |
location()
Get the location property: Location ID for the Web |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withLocation(String location)
Set the location property: Location ID for the Web |
Methods inherited from java.lang.Object
Constructor Details
WebTestGeolocation
public WebTestGeolocation()
Creates an instance of WebTestGeolocation class.
Method Details
fromJson
public static WebTestGeolocation fromJson(JsonReader jsonReader)
Reads an instance of WebTestGeolocation from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Location ID for the WebTest to run from.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public WebTestGeolocation withLocation(String location)
Set the location property: Location ID for the WebTest to run from.
Parameters:
Returns: