com.aliyun.arms20190808.models.SaveTraceAppConfigRequest Maven / Gradle / Ivy
Show all versions of arms20190808 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class SaveTraceAppConfigRequest extends TeaModel {
/**
* The process ID (PID) of the application.
* Log on to the ARMS console. In the left-side navigation pane, choose Application Monitoring > Application List. On the Application List page, click the name of an application. The URL in the address bar contains the PID of the application. The PID is indicated in the pid=xxx format. The PID is usually percent encoded as xxx%40xxx. You must modify this value to remove the percent encoding. For example, if the PID in the URL is xxx%4074xxx, you must replace %40 with an at sign (@) to obtain xxx@74xxx.
* This parameter is required.
*
* example:
* a2n80plglh@745eddxxx
*/
@NameInMap("Pid")
public String pid;
/**
* The settings of Application Monitoring.
*/
@NameInMap("Settings")
public java.util.List settings;
public static SaveTraceAppConfigRequest build(java.util.Map map) throws Exception {
SaveTraceAppConfigRequest self = new SaveTraceAppConfigRequest();
return TeaModel.build(map, self);
}
public SaveTraceAppConfigRequest setPid(String pid) {
this.pid = pid;
return this;
}
public String getPid() {
return this.pid;
}
public SaveTraceAppConfigRequest setSettings(java.util.List settings) {
this.settings = settings;
return this;
}
public java.util.List getSettings() {
return this.settings;
}
public static class SaveTraceAppConfigRequestSettings extends TeaModel {
/**
* The key of the settings that you want to modify. For more information about the supported settings, see the following sections.
*
* - Trace sampling settings
* - Agent switch settings
* - Threshold settings
* - Advanced settings
* - Thread settings
* - Memory snapshot settings
* - URL convergence settings
* - Business log association settings
*
*
* example:
* sampling.enable
*/
@NameInMap("Key")
public String key;
/**
* The value of the settings that you want to modify. For more information about the supported settings, see the following sections.
*
* - Trace sampling settings
* - Agent switch settings
* - Threshold settings
* - Advanced settings
* - Thread settings
* - Memory snapshot settings
* - URL convergence settings
* - Business log association settings
*
*
* example:
* true
*/
@NameInMap("Value")
public String value;
public static SaveTraceAppConfigRequestSettings build(java.util.Map map) throws Exception {
SaveTraceAppConfigRequestSettings self = new SaveTraceAppConfigRequestSettings();
return TeaModel.build(map, self);
}
public SaveTraceAppConfigRequestSettings setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public SaveTraceAppConfigRequestSettings setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}