public class UpdatePrometheusAlertGroupStateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpdatePrometheusAlertGroupStateRequest() | 
| UpdatePrometheusAlertGroupStateRequest(UpdatePrometheusAlertGroupStateRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getGroupIds()Get 告警分组ID列表,形如alert-xxxx | 
| Long | getGroupState()Get 告警分组状态
2 -- 启用
3 -- 禁用 | 
| String | getInstanceId()Get Prometheus 实例 ID | 
| void | setGroupIds(String[] GroupIds)Set 告警分组ID列表,形如alert-xxxx | 
| void | setGroupState(Long GroupState)Set 告警分组状态
2 -- 启用
3 -- 禁用 | 
| void | setInstanceId(String InstanceId)Set Prometheus 实例 ID | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UpdatePrometheusAlertGroupStateRequest()
public UpdatePrometheusAlertGroupStateRequest(UpdatePrometheusAlertGroupStateRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Prometheus 实例 IDpublic String[] getGroupIds()
public void setGroupIds(String[] GroupIds)
GroupIds - 告警分组ID列表,形如alert-xxxxpublic Long getGroupState()
public void setGroupState(Long GroupState)
GroupState - 告警分组状态
2 -- 启用
3 -- 禁用Copyright © 2025. All rights reserved.