com.aliyun.arms20190808.models.UpgradeEnvironmentFeatureRequest 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 UpgradeEnvironmentFeatureRequest extends TeaModel {
/**
* The language. Valid values: zh and en. Default value: zh.
*
* example:
* zh
*/
@NameInMap("AliyunLang")
public String aliyunLang;
/**
* The environment ID.
* This parameter is required.
*
* example:
* env-xxx
*/
@NameInMap("EnvironmentId")
public String environmentId;
/**
* The feature name. Valid values: app-agent-pilot, metric-agent, ebpf-agent, and service-check.
* This parameter is required.
*
* example:
* metric-agent
*/
@NameInMap("FeatureName")
public String featureName;
/**
* The version of the feature.
*
* example:
* 1.1.17
*/
@NameInMap("FeatureVersion")
public String featureVersion;
/**
* The region ID.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* Specifies whether to enable service discovery. For PodAnnotation, set the value to run or mini. For PodMonitor and ServiceMonitor, set the value to true or false.
*
* example:
* {"PodAnnotation":"run"}
*/
@NameInMap("Values")
public String values;
public static UpgradeEnvironmentFeatureRequest build(java.util.Map map) throws Exception {
UpgradeEnvironmentFeatureRequest self = new UpgradeEnvironmentFeatureRequest();
return TeaModel.build(map, self);
}
public UpgradeEnvironmentFeatureRequest setAliyunLang(String aliyunLang) {
this.aliyunLang = aliyunLang;
return this;
}
public String getAliyunLang() {
return this.aliyunLang;
}
public UpgradeEnvironmentFeatureRequest setEnvironmentId(String environmentId) {
this.environmentId = environmentId;
return this;
}
public String getEnvironmentId() {
return this.environmentId;
}
public UpgradeEnvironmentFeatureRequest setFeatureName(String featureName) {
this.featureName = featureName;
return this;
}
public String getFeatureName() {
return this.featureName;
}
public UpgradeEnvironmentFeatureRequest setFeatureVersion(String featureVersion) {
this.featureVersion = featureVersion;
return this;
}
public String getFeatureVersion() {
return this.featureVersion;
}
public UpgradeEnvironmentFeatureRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public UpgradeEnvironmentFeatureRequest setValues(String values) {
this.values = values;
return this;
}
public String getValues() {
return this.values;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy