Class AlertmanagerConfigSpec

    • Constructor Detail

      • AlertmanagerConfigSpec

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

      • getInhibitRules

        public List<InhibitRule> getInhibitRules()
        inhibitRules defines the list of inhibition rules. The rules will only apply to alerts matching the resource's namespace.
      • setInhibitRules

        public void setInhibitRules​(List<InhibitRule> inhibitRules)
        inhibitRules defines the list of inhibition rules. The rules will only apply to alerts matching the resource's namespace.
      • getMuteTimeIntervals

        public List<MuteTimeInterval> getMuteTimeIntervals()
        muteTimeIntervals defines the list of MuteTimeInterval specifying when the routes should be muted.
      • setMuteTimeIntervals

        public void setMuteTimeIntervals​(List<MuteTimeInterval> muteTimeIntervals)
        muteTimeIntervals defines the list of MuteTimeInterval specifying when the routes should be muted.
      • getReceivers

        public List<Receiver> getReceivers()
        receivers defines the list of receivers.
      • setReceivers

        public void setReceivers​(List<Receiver> receivers)
        receivers defines the list of receivers.
      • getRoute

        public Route getRoute()
        AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By default, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource (see the `.spec.alertmanagerConfigMatcherStrategy` field of the Alertmanager CRD).
      • setRoute

        public void setRoute​(Route route)
        AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By default, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource (see the `.spec.alertmanagerConfigMatcherStrategy` field of the Alertmanager CRD).
      • getAdditionalProperties

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

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

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