public class CreatePrometheusAlertPolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreatePrometheusAlertPolicyRequest() | 
| CreatePrometheusAlertPolicyRequest(CreatePrometheusAlertPolicyRequest 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 | 
|---|---|
| PrometheusAlertPolicyItem | getAlertRule()Get 告警配置 | 
| String | getInstanceId()Get 实例id | 
| void | setAlertRule(PrometheusAlertPolicyItem AlertRule)Set 告警配置 | 
| void | setInstanceId(String InstanceId)Set 实例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 CreatePrometheusAlertPolicyRequest()
public CreatePrometheusAlertPolicyRequest(CreatePrometheusAlertPolicyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例idpublic PrometheusAlertPolicyItem getAlertRule()
public void setAlertRule(PrometheusAlertPolicyItem AlertRule)
AlertRule - 告警配置Copyright © 2025. All rights reserved.