Class PrometheusAlertRuleDetail

    • Constructor Detail

      • PrometheusAlertRuleDetail

        public PrometheusAlertRuleDetail()
      • PrometheusAlertRuleDetail

        public PrometheusAlertRuleDetail​(PrometheusAlertRuleDetail 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

      • getName

        public String getName()
        Get 规则名称
        Returns:
        Name 规则名称
      • setName

        public void setName​(String Name)
        Set 规则名称
        Parameters:
        Name - 规则名称
      • getRules

        public PrometheusAlertRule[] getRules()
        Get 规则列表
        Returns:
        Rules 规则列表
      • setRules

        public void setRules​(PrometheusAlertRule[] Rules)
        Set 规则列表
        Parameters:
        Rules - 规则列表
      • getUpdatedAt

        public String getUpdatedAt()
        Get 最后修改时间
        Returns:
        UpdatedAt 最后修改时间
      • setUpdatedAt

        public void setUpdatedAt​(String UpdatedAt)
        Set 最后修改时间
        Parameters:
        UpdatedAt - 最后修改时间
      • getNotification

        public PrometheusNotification getNotification()
        Get 告警渠道
        Returns:
        Notification 告警渠道
      • setNotification

        public void setNotification​(PrometheusNotification Notification)
        Set 告警渠道
        Parameters:
        Notification - 告警渠道
      • getId

        public String getId()
        Get 告警 id
        Returns:
        Id 告警 id
      • setId

        public void setId​(String Id)
        Set 告警 id
        Parameters:
        Id - 告警 id
      • getTemplateId

        public String getTemplateId()
        Get 如果该告警来至模板下发,则TemplateId为模板id 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TemplateId 如果该告警来至模板下发,则TemplateId为模板id 注意:此字段可能返回 null,表示取不到有效值。
      • setTemplateId

        public void setTemplateId​(String TemplateId)
        Set 如果该告警来至模板下发,则TemplateId为模板id 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TemplateId - 如果该告警来至模板下发,则TemplateId为模板id 注意:此字段可能返回 null,表示取不到有效值。
      • getInterval

        public String getInterval()
        Get 计算周期 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Interval 计算周期 注意:此字段可能返回 null,表示取不到有效值。
      • setInterval

        public void setInterval​(String Interval)
        Set 计算周期 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Interval - 计算周期 注意:此字段可能返回 null,表示取不到有效值。