public class ModifyAlarmPolicyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyAlarmPolicyRequest() |
ModifyAlarmPolicyRequest(ModifyAlarmPolicyRequest 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 |
getApplyType()
Get 类型
|
Long |
getEnable()
Get 开启策略
|
InstanceID[] |
getInstanceIds()
Get 列表
|
String |
getNewProfileLevel()
Get User-动态关联该用户所有实例
Instance-关联实例列表的实例
|
String |
getNewProfileName()
Get 新策略名
|
String |
getProfileName()
Get 旧策略名
|
String |
getProfileType()
Get 策略类型
|
String |
getQuickRule()
Get 快速规则 支持包括fatal-致命, critical-严重,
warning-告警,
information-通知
|
String |
getRemark()
Get 备注
|
AlarmsRules[] |
getRules()
Get 自定义规则
|
Long |
getRuleType()
Get 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
|
TemplateInfo[] |
getTemplateInfo()
Get 接受模板
|
void |
setApplyType(String ApplyType)
Set 类型
|
void |
setEnable(Long Enable)
Set 开启策略
|
void |
setInstanceIds(InstanceID[] InstanceIds)
Set 列表
|
void |
setNewProfileLevel(String NewProfileLevel)
Set User-动态关联该用户所有实例
Instance-关联实例列表的实例
|
void |
setNewProfileName(String NewProfileName)
Set 新策略名
|
void |
setProfileName(String ProfileName)
Set 旧策略名
|
void |
setProfileType(String ProfileType)
Set 策略类型
|
void |
setQuickRule(String QuickRule)
Set 快速规则 支持包括fatal-致命, critical-严重,
warning-告警,
information-通知
|
void |
setRemark(String Remark)
Set 备注
|
void |
setRules(AlarmsRules[] Rules)
Set 自定义规则
|
void |
setRuleType(Long RuleType)
Set 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
|
void |
setTemplateInfo(TemplateInfo[] TemplateInfo)
Set 接受模板
|
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, toJsonString
public ModifyAlarmPolicyRequest()
public ModifyAlarmPolicyRequest(ModifyAlarmPolicyRequest source)
public String getApplyType()
public void setApplyType(String ApplyType)
ApplyType
- 类型public Long getEnable()
public void setEnable(Long Enable)
Enable
- 开启策略public InstanceID[] getInstanceIds()
public void setInstanceIds(InstanceID[] InstanceIds)
InstanceIds
- 列表public String getNewProfileLevel()
public void setNewProfileLevel(String NewProfileLevel)
NewProfileLevel
- User-动态关联该用户所有实例
Instance-关联实例列表的实例public String getNewProfileName()
public void setNewProfileName(String NewProfileName)
NewProfileName
- 新策略名public String getProfileName()
public void setProfileName(String ProfileName)
ProfileName
- 旧策略名public String getProfileType()
public void setProfileType(String ProfileType)
ProfileType
- 策略类型public String getRemark()
public void setRemark(String Remark)
Remark
- 备注public Long getRuleType()
public void setRuleType(Long RuleType)
RuleType
- 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空public TemplateInfo[] getTemplateInfo()
public void setTemplateInfo(TemplateInfo[] TemplateInfo)
TemplateInfo
- 接受模板public String getQuickRule()
public void setQuickRule(String QuickRule)
QuickRule
- 快速规则 支持包括fatal-致命, critical-严重,
warning-告警,
information-通知public AlarmsRules[] getRules()
public void setRules(AlarmsRules[] Rules)
Rules
- 自定义规则Copyright © 2024. All rights reserved.