com.aliyun.arms20190808.models.CreateEnvServiceMonitorRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arms20190808 Show documentation
Show all versions of arms20190808 Show documentation
Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class CreateEnvServiceMonitorRequest extends TeaModel {
/**
* The language. Valid values:
*
* - zh (default): Chinese
* - en: English
*
*
* example:
* zh
*/
@NameInMap("AliyunLang")
public String aliyunLang;
/**
* The YAML configuration file of the ServiceMonitor.
* This parameter is required.
*
* example:
* Refer to supplementary instructions.
*/
@NameInMap("ConfigYaml")
public String configYaml;
/**
* Specifies whether to perform only a dry run, without performing the actual request. The system checks whether the format is valid and whether targets are matched.
*
* example:
* true
*/
@NameInMap("DryRun")
public Boolean dryRun;
/**
* The ID of the environment instance.
* This parameter is required.
*
* example:
* env-xxxxxx
*/
@NameInMap("EnvironmentId")
public String environmentId;
/**
* The region ID.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
public static CreateEnvServiceMonitorRequest build(java.util.Map map) throws Exception {
CreateEnvServiceMonitorRequest self = new CreateEnvServiceMonitorRequest();
return TeaModel.build(map, self);
}
public CreateEnvServiceMonitorRequest setAliyunLang(String aliyunLang) {
this.aliyunLang = aliyunLang;
return this;
}
public String getAliyunLang() {
return this.aliyunLang;
}
public CreateEnvServiceMonitorRequest setConfigYaml(String configYaml) {
this.configYaml = configYaml;
return this;
}
public String getConfigYaml() {
return this.configYaml;
}
public CreateEnvServiceMonitorRequest setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
return this;
}
public Boolean getDryRun() {
return this.dryRun;
}
public CreateEnvServiceMonitorRequest setEnvironmentId(String environmentId) {
this.environmentId = environmentId;
return this;
}
public String getEnvironmentId() {
return this.environmentId;
}
public CreateEnvServiceMonitorRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}