Class PushoverConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PushoverConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PushoverConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
    See Also:
    Serialized Form
    • Constructor Detail

      • PushoverConfig

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

      • getDevice

        public String getDevice()
        The name of a device to send the notification to
      • setDevice

        public void setDevice​(String device)
        The name of a device to send the notification to
      • getExpire

        public String getExpire()
        How long your notification will continue to be retried for, unless the user acknowledges the notification.
      • setExpire

        public void setExpire​(String expire)
        How long your notification will continue to be retried for, unless the user acknowledges the notification.
      • getHtml

        public Boolean getHtml()
        Whether notification message is HTML or plain text.
      • setHtml

        public void setHtml​(Boolean html)
        Whether notification message is HTML or plain text.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • getMessage

        public String getMessage()
        Notification message.
      • setMessage

        public void setMessage​(String message)
        Notification message.
      • getPriority

        public String getPriority()
        Priority, see https://pushover.net/api#priority
      • setPriority

        public void setPriority​(String priority)
        Priority, see https://pushover.net/api#priority
      • getRetry

        public String getRetry()
        How often the Pushover servers will send the same notification to the user. Must be at least 30 seconds.
      • setRetry

        public void setRetry​(String retry)
        How often the Pushover servers will send the same notification to the user. Must be at least 30 seconds.
      • getSendResolved

        public Boolean getSendResolved()
        Whether or not to notify about resolved alerts.
      • setSendResolved

        public void setSendResolved​(Boolean sendResolved)
        Whether or not to notify about resolved alerts.
      • getSound

        public String getSound()
        The name of one of the sounds supported by device clients to override the user's default sound choice
      • setSound

        public void setSound​(String sound)
        The name of one of the sounds supported by device clients to override the user's default sound choice
      • getTitle

        public String getTitle()
        Notification title.
      • setTitle

        public void setTitle​(String title)
        Notification title.
      • getToken

        public io.fabric8.kubernetes.api.model.SecretKeySelector getToken()
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • setToken

        public void setToken​(io.fabric8.kubernetes.api.model.SecretKeySelector token)
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • getTokenFile

        public String getTokenFile()
        The token file that contains the registered application's API token, see https://pushover.net/apps. Either `token` or `tokenFile` is required. It requires Alertmanager >= v0.26.0.
      • setTokenFile

        public void setTokenFile​(String tokenFile)
        The token file that contains the registered application's API token, see https://pushover.net/apps. Either `token` or `tokenFile` is required. It requires Alertmanager >= v0.26.0.
      • getTtl

        public String getTtl()
        The time to live definition for the alert notification
      • setTtl

        public void setTtl​(String ttl)
        The time to live definition for the alert notification
      • getUrl

        public String getUrl()
        A supplementary URL shown alongside the message.
      • setUrl

        public void setUrl​(String url)
        A supplementary URL shown alongside the message.
      • getUrlTitle

        public String getUrlTitle()
        A title for supplementary URL, otherwise just the URL is shown
      • setUrlTitle

        public void setUrlTitle​(String urlTitle)
        A title for supplementary URL, otherwise just the URL is shown
      • getUserKey

        public io.fabric8.kubernetes.api.model.SecretKeySelector getUserKey()
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • setUserKey

        public void setUserKey​(io.fabric8.kubernetes.api.model.SecretKeySelector userKey)
        PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
      • getUserKeyFile

        public String getUserKeyFile()
        The user key file that contains the recipient user's user key. Either `userKey` or `userKeyFile` is required. It requires Alertmanager >= v0.26.0.
      • setUserKeyFile

        public void setUserKeyFile​(String userKeyFile)
        The user key file that contains the recipient user's user key. Either `userKey` or `userKeyFile` is required. It requires Alertmanager >= v0.26.0.
      • getAdditionalProperties

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

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

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