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 operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex match) or `!~` (not regex match). Negative operators (`!=` and `!~`) require Alertmanager >= v0.22.0.
      • setMatchType

        public void setMatchType​(String matchType)
        Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex match) or `!~` (not regex match). Negative operators (`!=` and `!~`) require Alertmanager >= v0.22.0.
      • getName

        public String getName()
        Label to match.
      • setName

        public void setName​(String name)
        Label to match.
      • 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)