com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-applicationinsights Show documentation
Show all versions of azure-resourcemanager-applicationinsights Show documentation
This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-04-01.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.applicationinsights.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Geo-physical location to run a web test from. You must specify one or more locations for the test to run from. */
@Fluent
public final class WebTestGeolocation {
/*
* Location ID for the webtest to run from.
*/
@JsonProperty(value = "Id")
private String location;
/**
* Get the location property: Location ID for the webtest to run from.
*
* @return the location value.
*/
public String location() {
return this.location;
}
/**
* Set the location property: Location ID for the webtest to run from.
*
* @param location the location value to set.
* @return the WebTestGeolocation object itself.
*/
public WebTestGeolocation withLocation(String location) {
this.location = location;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}