Class Matcher

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MatcherBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Matcher
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MatcherBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Matcher defines how to match on alert's labels.
    See Also:
    Serialized Form
    • Constructor Detail

      • Matcher

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

      • getMatchType

        public String getMatchType()
        Match operation available with AlertManager >= v0.22.0 and takes precedence over Regex (deprecated) if non-empty.
      • setMatchType

        public void setMatchType​(String matchType)
        Match operation available with AlertManager >= v0.22.0 and takes precedence over Regex (deprecated) if non-empty.
      • getName

        public String getName()
        Label to match.
      • setName

        public void setName​(String name)
        Label to match.
      • getRegex

        public Boolean getRegex()
        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)
        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()
        Label value to match.
      • setValue

        public void setValue​(String value)
        Label value to match.
      • getAdditionalProperties

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

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

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