com.aliyun.edas20170801.models.AddLogPathRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edas20170801 Show documentation
Show all versions of edas20170801 Show documentation
Alibaba Cloud Enterprise Distributed Application Service (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.edas20170801.models;
import com.aliyun.tea.*;
public class AddLogPathRequest extends TeaModel {
/**
* The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).
*/
@NameInMap("AppId")
public String appId;
/**
* The absolute path of the log directory that you want to add. The value must start and end with a forward slash (`/`) and must contain `/log` or `/logs`. The following directories are the default log directories in Enterprise Distributed Application Service (EDAS):
*
* * /home/admin/edas-container/logs/
* * /home/admin/taobao-tomcat-7.0.59/logs/
* * /home/admin/taobao-tomcat-production-7.0.59.3/logs/
* * /home/admin/taobao-tomcat-production-7.0.70/logs/
* * /home/admin/edas-agent/logs/
*/
@NameInMap("Path")
public String path;
public static AddLogPathRequest build(java.util.Map map) throws Exception {
AddLogPathRequest self = new AddLogPathRequest();
return TeaModel.build(map, self);
}
public AddLogPathRequest setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public AddLogPathRequest setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
}