Class AlertmanagerConfigSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class AlertmanagerConfigSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerConfigSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    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).
    See Also:
    Serialized Form
    • Constructor Detail

      • AlertmanagerConfigSpec

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

      • getInhibitRules

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

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

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

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

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

        public void setReceivers​(List<Receiver> receivers)
        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)