com.aliyun.arms20190808.models.ListPrometheusMonitoringRequest 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 ListPrometheusMonitoringRequest extends TeaModel {
/**
* The ID of the Prometheus instance.
* This parameter is required.
*
* example:
* cc7a37ee31aea4ed1a059eff8034b****
*/
@NameInMap("ClusterId")
public String clusterId;
/**
* The region ID. Default value: cn-hangzhou
.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The type of the monitoring configuration. Valid values for a Prometheus instance for Container Service: ServiceMonitor, PodMonitor, CustomJob, and Probe. Valid values for a Prometheus instance for ECS: CustomJob and Probe.
*
* example:
* serviceMonitor
*
* if can be null:
* true
*/
@NameInMap("Type")
public String type;
public static ListPrometheusMonitoringRequest build(java.util.Map map) throws Exception {
ListPrometheusMonitoringRequest self = new ListPrometheusMonitoringRequest();
return TeaModel.build(map, self);
}
public ListPrometheusMonitoringRequest setClusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public String getClusterId() {
return this.clusterId;
}
public ListPrometheusMonitoringRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListPrometheusMonitoringRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy