Class PagerDutyConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.PagerDutyConfig
-
- All Implemented Interfaces:
Editable<PagerDutyConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PagerDutyConfig extends Object implements Editable<PagerDutyConfigBuilder>, KubernetesResource
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagerDutyConfig()No args constructor for use in serializationPagerDutyConfig(String className, String client, String clientURL, String component, String description, List<KeyValue> details, String group, HTTPConfig httpConfig, List<PagerDutyImageConfig> pagerDutyImageConfigs, List<PagerDutyLinkConfig> pagerDutyLinkConfigs, SecretKeySelector routingKey, Boolean sendResolved, SecretKeySelector serviceKey, String severity, String source, String timeout, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagerDutyConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClassName()class defines the class/type of the event.StringgetClient()client defines the client identification.StringgetClientURL()clientURL defines the backlink to the sender of notification.StringgetComponent()component defines the part or component of the affected system that is broken.StringgetDescription()description of the incident.List<KeyValue>getDetails()details defines the arbitrary key/value pairs that provide further detail about the incident.StringgetGroup()group defines a cluster or grouping of sources.HTTPConfiggetHttpConfig()PagerDutyConfig configures notifications via PagerDuty.List<PagerDutyImageConfig>getPagerDutyImageConfigs()pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.List<PagerDutyLinkConfig>getPagerDutyLinkConfigs()pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.SecretKeySelectorgetRoutingKey()PagerDutyConfig configures notifications via PagerDuty.BooleangetSendResolved()sendResolved defines whether or not to notify about resolved alerts.SecretKeySelectorgetServiceKey()PagerDutyConfig configures notifications via PagerDuty.StringgetSeverity()severity of the incident.StringgetSource()source defines the unique location of the affected system.StringgetTimeout()timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.StringgetUrl()url defines the URL to send requests to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClassName(String className)class defines the class/type of the event.voidsetClient(String client)client defines the client identification.voidsetClientURL(String clientURL)clientURL defines the backlink to the sender of notification.voidsetComponent(String component)component defines the part or component of the affected system that is broken.voidsetDescription(String description)description of the incident.voidsetDetails(List<KeyValue> details)details defines the arbitrary key/value pairs that provide further detail about the incident.voidsetGroup(String group)group defines a cluster or grouping of sources.voidsetHttpConfig(HTTPConfig httpConfig)PagerDutyConfig configures notifications via PagerDuty.voidsetPagerDutyImageConfigs(List<PagerDutyImageConfig> pagerDutyImageConfigs)pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.voidsetPagerDutyLinkConfigs(List<PagerDutyLinkConfig> pagerDutyLinkConfigs)pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.voidsetRoutingKey(SecretKeySelector routingKey)PagerDutyConfig configures notifications via PagerDuty.voidsetSendResolved(Boolean sendResolved)sendResolved defines whether or not to notify about resolved alerts.voidsetServiceKey(SecretKeySelector serviceKey)PagerDutyConfig configures notifications via PagerDuty.voidsetSeverity(String severity)severity of the incident.voidsetSource(String source)source defines the unique location of the affected system.voidsetTimeout(String timeout)timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.voidsetUrl(String url)url defines the URL to send requests to.PagerDutyConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
PagerDutyConfig
public PagerDutyConfig()
No args constructor for use in serialization
-
PagerDutyConfig
public PagerDutyConfig(String className, String client, String clientURL, String component, String description, List<KeyValue> details, String group, HTTPConfig httpConfig, List<PagerDutyImageConfig> pagerDutyImageConfigs, List<PagerDutyLinkConfig> pagerDutyLinkConfigs, SecretKeySelector routingKey, Boolean sendResolved, SecretKeySelector serviceKey, String severity, String source, String timeout, String url)
-
-
Method Detail
-
getClassName
public String getClassName()
class defines the class/type of the event.
-
setClassName
public void setClassName(String className)
class defines the class/type of the event.
-
getClient
public String getClient()
client defines the client identification.
-
setClient
public void setClient(String client)
client defines the client identification.
-
getClientURL
public String getClientURL()
clientURL defines the backlink to the sender of notification.
-
setClientURL
public void setClientURL(String clientURL)
clientURL defines the backlink to the sender of notification.
-
getComponent
public String getComponent()
component defines the part or component of the affected system that is broken.
-
setComponent
public void setComponent(String component)
component defines the part or component of the affected system that is broken.
-
getDescription
public String getDescription()
description of the incident.
-
setDescription
public void setDescription(String description)
description of the incident.
-
getDetails
public List<KeyValue> getDetails()
details defines the arbitrary key/value pairs that provide further detail about the incident.
-
setDetails
public void setDetails(List<KeyValue> details)
details defines the arbitrary key/value pairs that provide further detail about the incident.
-
getGroup
public String getGroup()
group defines a cluster or grouping of sources.
-
setGroup
public void setGroup(String group)
group defines a cluster or grouping of sources.
-
getHttpConfig
public HTTPConfig getHttpConfig()
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
setHttpConfig
public void setHttpConfig(HTTPConfig httpConfig)
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
getPagerDutyImageConfigs
public List<PagerDutyImageConfig> getPagerDutyImageConfigs()
pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.
-
setPagerDutyImageConfigs
public void setPagerDutyImageConfigs(List<PagerDutyImageConfig> pagerDutyImageConfigs)
pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.
-
getPagerDutyLinkConfigs
public List<PagerDutyLinkConfig> getPagerDutyLinkConfigs()
pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.
-
setPagerDutyLinkConfigs
public void setPagerDutyLinkConfigs(List<PagerDutyLinkConfig> pagerDutyLinkConfigs)
pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.
-
getRoutingKey
public SecretKeySelector getRoutingKey()
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
setRoutingKey
public void setRoutingKey(SecretKeySelector routingKey)
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
getSendResolved
public Boolean getSendResolved()
sendResolved defines whether or not to notify about resolved alerts.
-
setSendResolved
public void setSendResolved(Boolean sendResolved)
sendResolved defines whether or not to notify about resolved alerts.
-
getServiceKey
public SecretKeySelector getServiceKey()
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
setServiceKey
public void setServiceKey(SecretKeySelector serviceKey)
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
getSeverity
public String getSeverity()
severity of the incident.
-
setSeverity
public void setSeverity(String severity)
severity of the incident.
-
getSource
public String getSource()
source defines the unique location of the affected system.
-
setSource
public void setSource(String source)
source defines the unique location of the affected system.
-
getTimeout
public String getTimeout()
timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.
-
setTimeout
public void setTimeout(String timeout)
timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.
-
getUrl
public String getUrl()
url defines the URL to send requests to.
-
setUrl
public void setUrl(String url)
url defines the URL to send requests to.
-
edit
public PagerDutyConfigBuilder edit()
- Specified by:
editin interfaceEditable<PagerDutyConfigBuilder>
-
toBuilder
public PagerDutyConfigBuilder toBuilder()
-
-