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 definition, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource.
    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.
      • 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 definition, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource.
      • setRoute

        public void setRoute​(Route route)
        AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By definition, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource.
      • getTimeIntervals

        public List<TimeInterval> getTimeIntervals()
        List of TimeInterval specifying when the routes should be muted or active.
      • setTimeIntervals

        public void setTimeIntervals​(List<TimeInterval> timeIntervals)
        List of TimeInterval specifying when the routes should be muted or active.
      • getAdditionalProperties

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

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

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