Class PagerDutyConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1alpha1.PagerDutyConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PagerDutyConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PagerDutyConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<PagerDutyConfigBuilder>, io.fabric8.kubernetes.api.model.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, io.fabric8.kubernetes.api.model.SecretKeySelector routingKey, Boolean sendResolved, io.fabric8.kubernetes.api.model.SecretKeySelector serviceKey, String severity, String source, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagerDutyConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClassName()The class/type of the event.StringgetClient()Client identification.StringgetClientURL()Backlink to the sender of notification.StringgetComponent()The part or component of the affected system that is broken.StringgetDescription()Description of the incident.List<KeyValue>getDetails()Arbitrary key/value pairs that provide further detail about the incident.StringgetGroup()A cluster or grouping of sources.HTTPConfiggetHttpConfig()PagerDutyConfig configures notifications via PagerDuty.List<PagerDutyImageConfig>getPagerDutyImageConfigs()A list of image details to attach that provide further detail about an incident.List<PagerDutyLinkConfig>getPagerDutyLinkConfigs()A list of link details to attach that provide further detail about an incident.io.fabric8.kubernetes.api.model.SecretKeySelectorgetRoutingKey()PagerDutyConfig configures notifications via PagerDuty.BooleangetSendResolved()Whether or not to notify about resolved alerts.io.fabric8.kubernetes.api.model.SecretKeySelectorgetServiceKey()PagerDutyConfig configures notifications via PagerDuty.StringgetSeverity()Severity of the incident.StringgetSource()Unique location of the affected system.StringgetUrl()The URL to send requests to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClassName(String className)The class/type of the event.voidsetClient(String client)Client identification.voidsetClientURL(String clientURL)Backlink to the sender of notification.voidsetComponent(String component)The part or component of the affected system that is broken.voidsetDescription(String description)Description of the incident.voidsetDetails(List<KeyValue> details)Arbitrary key/value pairs that provide further detail about the incident.voidsetGroup(String group)A cluster or grouping of sources.voidsetHttpConfig(HTTPConfig httpConfig)PagerDutyConfig configures notifications via PagerDuty.voidsetPagerDutyImageConfigs(List<PagerDutyImageConfig> pagerDutyImageConfigs)A list of image details to attach that provide further detail about an incident.voidsetPagerDutyLinkConfigs(List<PagerDutyLinkConfig> pagerDutyLinkConfigs)A list of link details to attach that provide further detail about an incident.voidsetRoutingKey(io.fabric8.kubernetes.api.model.SecretKeySelector routingKey)PagerDutyConfig configures notifications via PagerDuty.voidsetSendResolved(Boolean sendResolved)Whether or not to notify about resolved alerts.voidsetServiceKey(io.fabric8.kubernetes.api.model.SecretKeySelector serviceKey)PagerDutyConfig configures notifications via PagerDuty.voidsetSeverity(String severity)Severity of the incident.voidsetSource(String source)Unique location of the affected system.voidsetUrl(String url)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, io.fabric8.kubernetes.api.model.SecretKeySelector routingKey, Boolean sendResolved, io.fabric8.kubernetes.api.model.SecretKeySelector serviceKey, String severity, String source, String url)
-
-
Method Detail
-
getClassName
public String getClassName()
The class/type of the event.
-
setClassName
public void setClassName(String className)
The class/type of the event.
-
getClient
public String getClient()
Client identification.
-
setClient
public void setClient(String client)
Client identification.
-
getClientURL
public String getClientURL()
Backlink to the sender of notification.
-
setClientURL
public void setClientURL(String clientURL)
Backlink to the sender of notification.
-
getComponent
public String getComponent()
The part or component of the affected system that is broken.
-
setComponent
public void setComponent(String component)
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()
Arbitrary key/value pairs that provide further detail about the incident.
-
setDetails
public void setDetails(List<KeyValue> details)
Arbitrary key/value pairs that provide further detail about the incident.
-
getGroup
public String getGroup()
A cluster or grouping of sources.
-
setGroup
public void setGroup(String group)
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()
A list of image details to attach that provide further detail about an incident.
-
setPagerDutyImageConfigs
public void setPagerDutyImageConfigs(List<PagerDutyImageConfig> pagerDutyImageConfigs)
A list of image details to attach that provide further detail about an incident.
-
getPagerDutyLinkConfigs
public List<PagerDutyLinkConfig> getPagerDutyLinkConfigs()
A list of link details to attach that provide further detail about an incident.
-
setPagerDutyLinkConfigs
public void setPagerDutyLinkConfigs(List<PagerDutyLinkConfig> pagerDutyLinkConfigs)
A list of link details to attach that provide further detail about an incident.
-
getRoutingKey
public io.fabric8.kubernetes.api.model.SecretKeySelector getRoutingKey()
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
setRoutingKey
public void setRoutingKey(io.fabric8.kubernetes.api.model.SecretKeySelector routingKey)
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
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.
-
getServiceKey
public io.fabric8.kubernetes.api.model.SecretKeySelector getServiceKey()
PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
-
setServiceKey
public void setServiceKey(io.fabric8.kubernetes.api.model.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()
Unique location of the affected system.
-
setSource
public void setSource(String source)
Unique location of the affected system.
-
getUrl
public String getUrl()
The URL to send requests to.
-
setUrl
public void setUrl(String url)
The URL to send requests to.
-
edit
public PagerDutyConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PagerDutyConfigBuilder>
-
toBuilder
public PagerDutyConfigBuilder toBuilder()
-
-