Class ModifyAlarmPolicyRequest

    • Constructor Detail

      • ModifyAlarmPolicyRequest

        public ModifyAlarmPolicyRequest()
      • ModifyAlarmPolicyRequest

        public 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.
    • Method Detail

      • getApplyType

        public String getApplyType()
        Get 类型
        Returns:
        ApplyType 类型
      • setApplyType

        public void setApplyType​(String ApplyType)
        Set 类型
        Parameters:
        ApplyType - 类型
      • getEnable

        public Long getEnable()
        Get 开启策略
        Returns:
        Enable 开启策略
      • setEnable

        public void setEnable​(Long Enable)
        Set 开启策略
        Parameters:
        Enable - 开启策略
      • getInstanceIds

        public InstanceID[] getInstanceIds()
        Get 列表
        Returns:
        InstanceIds 列表
      • setInstanceIds

        public void setInstanceIds​(InstanceID[] InstanceIds)
        Set 列表
        Parameters:
        InstanceIds - 列表
      • getNewProfileLevel

        public String getNewProfileLevel()
        Get User-动态关联该用户所有实例 Instance-关联实例列表的实例
        Returns:
        NewProfileLevel User-动态关联该用户所有实例 Instance-关联实例列表的实例
      • setNewProfileLevel

        public void setNewProfileLevel​(String NewProfileLevel)
        Set User-动态关联该用户所有实例 Instance-关联实例列表的实例
        Parameters:
        NewProfileLevel - User-动态关联该用户所有实例 Instance-关联实例列表的实例
      • getNewProfileName

        public String getNewProfileName()
        Get 新策略名
        Returns:
        NewProfileName 新策略名
      • setNewProfileName

        public void setNewProfileName​(String NewProfileName)
        Set 新策略名
        Parameters:
        NewProfileName - 新策略名
      • getProfileName

        public String getProfileName()
        Get 旧策略名
        Returns:
        ProfileName 旧策略名
      • setProfileName

        public void setProfileName​(String ProfileName)
        Set 旧策略名
        Parameters:
        ProfileName - 旧策略名
      • getProfileType

        public String getProfileType()
        Get 策略类型
        Returns:
        ProfileType 策略类型
      • setProfileType

        public void setProfileType​(String ProfileType)
        Set 策略类型
        Parameters:
        ProfileType - 策略类型
      • getRemark

        public String getRemark()
        Get 备注
        Returns:
        Remark 备注
      • setRemark

        public void setRemark​(String Remark)
        Set 备注
        Parameters:
        Remark - 备注
      • getRuleType

        public Long getRuleType()
        Get 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
        Returns:
        RuleType 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
      • setRuleType

        public void setRuleType​(Long RuleType)
        Set 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
        Parameters:
        RuleType - 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
      • getTemplateInfo

        public TemplateInfo[] getTemplateInfo()
        Get 接受模板
        Returns:
        TemplateInfo 接受模板
      • setTemplateInfo

        public void setTemplateInfo​(TemplateInfo[] TemplateInfo)
        Set 接受模板
        Parameters:
        TemplateInfo - 接受模板
      • getQuickRule

        public String getQuickRule()
        Get 快速规则 支持包括fatal-致命, critical-严重, warning-告警, information-通知
        Returns:
        QuickRule 快速规则 支持包括fatal-致命, critical-严重, warning-告警, information-通知
      • setQuickRule

        public void setQuickRule​(String QuickRule)
        Set 快速规则 支持包括fatal-致命, critical-严重, warning-告警, information-通知
        Parameters:
        QuickRule - 快速规则 支持包括fatal-致命, critical-严重, warning-告警, information-通知
      • getRules

        public AlarmsRules[] getRules()
        Get 自定义规则
        Returns:
        Rules 自定义规则
      • setRules

        public void setRules​(AlarmsRules[] Rules)
        Set 自定义规则
        Parameters:
        Rules - 自定义规则