com.aliyun.arms20190808.models.UpdateEnvPodMonitorRequest 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 UpdateEnvPodMonitorRequest extends TeaModel {
/**
* The language. Valid values:
*
* - zh (default value): 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;
/**
* Checks whether the format is valid and whether targets are matched.
*
* example:
* true
*/
@NameInMap("DryRun")
public Boolean dryRun;
/**
* The environment ID.
* This parameter is required.
*
* example:
* env-xxxxx
*/
@NameInMap("EnvironmentId")
public String environmentId;
/**
* The namespace where the PodMonitor resides.
* This parameter is required.
*
* example:
* arms-prom
*/
@NameInMap("Namespace")
public String namespace;
/**
* The name of the PodMonitor.
* This parameter is required.
*
* example:
* arms-admin-pm1
*/
@NameInMap("PodMonitorName")
public String podMonitorName;
/**
* The region ID.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
public static UpdateEnvPodMonitorRequest build(java.util.Map map) throws Exception {
UpdateEnvPodMonitorRequest self = new UpdateEnvPodMonitorRequest();
return TeaModel.build(map, self);
}
public UpdateEnvPodMonitorRequest setAliyunLang(String aliyunLang) {
this.aliyunLang = aliyunLang;
return this;
}
public String getAliyunLang() {
return this.aliyunLang;
}
public UpdateEnvPodMonitorRequest setConfigYaml(String configYaml) {
this.configYaml = configYaml;
return this;
}
public String getConfigYaml() {
return this.configYaml;
}
public UpdateEnvPodMonitorRequest setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
return this;
}
public Boolean getDryRun() {
return this.dryRun;
}
public UpdateEnvPodMonitorRequest setEnvironmentId(String environmentId) {
this.environmentId = environmentId;
return this;
}
public String getEnvironmentId() {
return this.environmentId;
}
public UpdateEnvPodMonitorRequest setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
public UpdateEnvPodMonitorRequest setPodMonitorName(String podMonitorName) {
this.podMonitorName = podMonitorName;
return this;
}
public String getPodMonitorName() {
return this.podMonitorName;
}
public UpdateEnvPodMonitorRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy