com.aliyun.arms20190808.models.DescribeEnvServiceMonitorResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class DescribeEnvServiceMonitorResponseBody extends TeaModel {
/**
* The HTTP status code. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed.
*
* example:
* 200
*/
@NameInMap("Code")
public Integer code;
/**
* The returned struct.
*/
@NameInMap("Data")
public DescribeEnvServiceMonitorResponseBodyData data;
/**
* The returned message.
*
* example:
* success
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* 40B10E04-81E8-4643-970D-F1B38F2E****
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeEnvServiceMonitorResponseBody build(java.util.Map map) throws Exception {
DescribeEnvServiceMonitorResponseBody self = new DescribeEnvServiceMonitorResponseBody();
return TeaModel.build(map, self);
}
public DescribeEnvServiceMonitorResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeEnvServiceMonitorResponseBody setData(DescribeEnvServiceMonitorResponseBodyData data) {
this.data = data;
return this;
}
public DescribeEnvServiceMonitorResponseBodyData getData() {
return this.data;
}
public DescribeEnvServiceMonitorResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeEnvServiceMonitorResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeEnvServiceMonitorResponseBodyData extends TeaModel {
/**
* The YAML configuration file of the ServiceMonitor.
*
* example:
* Refer to supplementary instructions.
*/
@NameInMap("ConfigYaml")
public String configYaml;
/**
* The ID of the environment instance.
*
* example:
* env-xxxxx
*/
@NameInMap("EnvironmentId")
public String environmentId;
/**
* The namespace.
*
* example:
* arms-prom
*/
@NameInMap("Namespace")
public String namespace;
/**
* The region ID.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The name of the ServiceMonitor.
*
* example:
* serviceMonitor1
*/
@NameInMap("ServiceMonitorName")
public String serviceMonitorName;
/**
* The status. Valid values:
*
* - run
* - stop
*
*
* example:
* run
*/
@NameInMap("Status")
public String status;
public static DescribeEnvServiceMonitorResponseBodyData build(java.util.Map map) throws Exception {
DescribeEnvServiceMonitorResponseBodyData self = new DescribeEnvServiceMonitorResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeEnvServiceMonitorResponseBodyData setConfigYaml(String configYaml) {
this.configYaml = configYaml;
return this;
}
public String getConfigYaml() {
return this.configYaml;
}
public DescribeEnvServiceMonitorResponseBodyData setEnvironmentId(String environmentId) {
this.environmentId = environmentId;
return this;
}
public String getEnvironmentId() {
return this.environmentId;
}
public DescribeEnvServiceMonitorResponseBodyData setNamespace(String namespace) {
this.namespace = namespace;
return this;
}
public String getNamespace() {
return this.namespace;
}
public DescribeEnvServiceMonitorResponseBodyData setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeEnvServiceMonitorResponseBodyData setServiceMonitorName(String serviceMonitorName) {
this.serviceMonitorName = serviceMonitorName;
return this;
}
public String getServiceMonitorName() {
return this.serviceMonitorName;
}
public DescribeEnvServiceMonitorResponseBodyData setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy