Class WebexConfig

    • Constructor Detail

      • WebexConfig

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

      • getApiURL

        public String getApiURL()
        apiURL defines the Webex Teams API URL i.e. https://webexapis.com/v1/messages
      • setApiURL

        public void setApiURL​(String apiURL)
        apiURL defines the Webex Teams API URL i.e. https://webexapis.com/v1/messages
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_config
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_config
      • getMessage

        public String getMessage()
        message defines the message template
      • setMessage

        public void setMessage​(String message)
        message defines the message template
      • getRoomID

        public String getRoomID()
        roomID defines the ID of the Webex Teams room where to send the messages.
      • setRoomID

        public void setRoomID​(String roomID)
        roomID defines the ID of the Webex Teams room where to send the messages.
      • 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.
      • getAdditionalProperties

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

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

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