Class Matcher

    • Constructor Detail

      • Matcher

        public Matcher()
        No args constructor for use in serialization
    • Method Detail

      • getMatchType

        public String getMatchType()
        matchType defines the match operation available with AlertManager >= v0.22.0. Takes precedence over Regex (deprecated) if non-empty. Valid values: "=" (equality), "!=" (inequality), "=~" (regex match), "!~" (regex non-match).
      • setMatchType

        public void setMatchType​(String matchType)
        matchType defines the match operation available with AlertManager >= v0.22.0. Takes precedence over Regex (deprecated) if non-empty. Valid values: "=" (equality), "!=" (inequality), "=~" (regex match), "!~" (regex non-match).
      • getName

        public String getName()
        name defines the label to match. This specifies which alert label should be evaluated.
      • setName

        public void setName​(String name)
        name defines the label to match. This specifies which alert label should be evaluated.
      • getRegex

        public Boolean getRegex()
        regex defines whether to match on equality (false) or regular-expression (true). Deprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.
      • setRegex

        public void setRegex​(Boolean regex)
        regex defines whether to match on equality (false) or regular-expression (true). Deprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.
      • getValue

        public String getValue()
        value defines the label value to match. This is the expected value for the specified label.
      • setValue

        public void setValue​(String value)
        value defines the label value to match. This is the expected value for the specified label.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)