Class PushoverConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.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 Summary
Constructors Constructor Description PushoverConfig()No args constructor for use in serializationPushoverConfig(String device, String expire, Boolean html, HTTPConfig httpConfig, String message, String priority, String retry, Boolean sendResolved, String sound, String title, SecretKeySelector token, String tokenFile, String ttl, String url, String urlTitle, SecretKeySelector userKey, String userKeyFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PushoverConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDevice()The name of a device to send the notification toStringgetExpire()How long your notification will continue to be retried for, unless the user acknowledges the notification.BooleangetHtml()Whether notification message is HTML or plain text.HTTPConfiggetHttpConfig()PushoverConfig configures notifications via Pushover.StringgetMessage()Notification message.StringgetPriority()Priority, see https://pushover.net/api#priorityStringgetRetry()How often the Pushover servers will send the same notification to the user.BooleangetSendResolved()Whether or not to notify about resolved alerts.StringgetSound()The name of one of the sounds supported by device clients to override the user's default sound choiceStringgetTitle()Notification title.SecretKeySelectorgetToken()PushoverConfig configures notifications via Pushover.StringgetTokenFile()The token file that contains the registered application's API token, see https://pushover.net/apps.StringgetTtl()The time to live definition for the alert notificationStringgetUrl()A supplementary URL shown alongside the message.StringgetUrlTitle()A title for supplementary URL, otherwise just the URL is shownSecretKeySelectorgetUserKey()PushoverConfig configures notifications via Pushover.StringgetUserKeyFile()The user key file that contains the recipient user's user key.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDevice(String device)The name of a device to send the notification tovoidsetExpire(String expire)How long your notification will continue to be retried for, unless the user acknowledges the notification.voidsetHtml(Boolean html)Whether notification message is HTML or plain text.voidsetHttpConfig(HTTPConfig httpConfig)PushoverConfig configures notifications via Pushover.voidsetMessage(String message)Notification message.voidsetPriority(String priority)Priority, see https://pushover.net/api#priorityvoidsetRetry(String retry)How often the Pushover servers will send the same notification to the user.voidsetSendResolved(Boolean sendResolved)Whether or not to notify about resolved alerts.voidsetSound(String sound)The name of one of the sounds supported by device clients to override the user's default sound choicevoidsetTitle(String title)Notification title.voidsetToken(SecretKeySelector token)PushoverConfig configures notifications via Pushover.voidsetTokenFile(String tokenFile)The token file that contains the registered application's API token, see https://pushover.net/apps.voidsetTtl(String ttl)The time to live definition for the alert notificationvoidsetUrl(String url)A supplementary URL shown alongside the message.voidsetUrlTitle(String urlTitle)A title for supplementary URL, otherwise just the URL is shownvoidsetUserKey(SecretKeySelector userKey)PushoverConfig configures notifications via Pushover.voidsetUserKeyFile(String userKeyFile)The user key file that contains the recipient user's user key.PushoverConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
PushoverConfig
public PushoverConfig()
No args constructor for use in serialization
-
PushoverConfig
public PushoverConfig(String device, String expire, Boolean html, HTTPConfig httpConfig, String message, String priority, String retry, Boolean sendResolved, String sound, String title, SecretKeySelector token, String tokenFile, String ttl, String url, String urlTitle, SecretKeySelector userKey, String userKeyFile)
-
-
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 SecretKeySelector getToken()
PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
-
setToken
public void setToken(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 SecretKeySelector getUserKey()
PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
-
setUserKey
public void setUserKey(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.
-
edit
public PushoverConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PushoverConfigBuilder>
-
toBuilder
public PushoverConfigBuilder toBuilder()
-
-