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 Alert configuration
|
String |
getInstanceId()
Get Instance ID
|
void |
setAlertRule(PrometheusAlertPolicyItem AlertRule)
Set Alert configuration
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreatePrometheusAlertPolicyRequest()
public CreatePrometheusAlertPolicyRequest(CreatePrometheusAlertPolicyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic PrometheusAlertPolicyItem getAlertRule()
public void setAlertRule(PrometheusAlertPolicyItem AlertRule)
AlertRule
- Alert configurationCopyright © 2024. All rights reserved.