Class OpsGenieConfig

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

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

      • getActions

        public String getActions()
        Comma separated list of actions that will be available for the alert.
      • setActions

        public void setActions​(String actions)
        Comma separated list of actions that will be available for the alert.
      • getApiKey

        public SecretKeySelector getApiKey()
        OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
      • setApiKey

        public void setApiKey​(SecretKeySelector apiKey)
        OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
      • getApiURL

        public String getApiURL()
        The URL to send OpsGenie API requests to.
      • setApiURL

        public void setApiURL​(String apiURL)
        The URL to send OpsGenie API requests to.
      • getDescription

        public String getDescription()
        Description of the incident.
      • setDescription

        public void setDescription​(String description)
        Description of the incident.
      • getDetails

        public List<KeyValue> getDetails()
        A set of arbitrary key/value pairs that provide further detail about the incident.
      • setDetails

        public void setDetails​(List<KeyValue> details)
        A set of arbitrary key/value pairs that provide further detail about the incident.
      • getEntity

        public String getEntity()
        Optional field that can be used to specify which domain alert is related to.
      • setEntity

        public void setEntity​(String entity)
        Optional field that can be used to specify which domain alert is related to.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
      • setHttpConfig

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

        public String getMessage()
        Alert text limited to 130 characters.
      • setMessage

        public void setMessage​(String message)
        Alert text limited to 130 characters.
      • getNote

        public String getNote()
        Additional alert note.
      • setNote

        public void setNote​(String note)
        Additional alert note.
      • getPriority

        public String getPriority()
        Priority level of alert. Possible values are P1, P2, P3, P4, and P5.
      • setPriority

        public void setPriority​(String priority)
        Priority level of alert. Possible values are P1, P2, P3, P4, and P5.
      • setResponders

        public void setResponders​(List<OpsGenieConfigResponder> responders)
        List of responders responsible for notifications.
      • 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.
      • getSource

        public String getSource()
        Backlink to the sender of the notification.
      • setSource

        public void setSource​(String source)
        Backlink to the sender of the notification.
      • getTags

        public String getTags()
        Comma separated list of tags attached to the notifications.
      • setTags

        public void setTags​(String tags)
        Comma separated list of tags attached to the notifications.
      • getAdditionalProperties

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

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

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