Class WebexConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.WebexConfig
-
- All Implemented Interfaces:
Editable<WebexConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WebexConfig extends Object implements Editable<WebexConfigBuilder>, KubernetesResource
WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_config- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebexConfig()No args constructor for use in serializationWebexConfig(String apiURL, HTTPConfig httpConfig, String message, String roomID, Boolean sendResolved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebexConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiURL()apiURL defines the Webex Teams API URL i.e. https://webexapis.com/v1/messagesHTTPConfiggetHttpConfig()WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_configStringgetMessage()message defines the message templateStringgetRoomID()roomID defines the ID of the Webex Teams room where to send the messages.BooleangetSendResolved()sendResolved defines whether or not to notify about resolved alerts.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiURL(String apiURL)apiURL defines the Webex Teams API URL i.e. https://webexapis.com/v1/messagesvoidsetHttpConfig(HTTPConfig httpConfig)WebexConfig configures notification via Cisco Webex See https://prometheus.io/docs/alerting/latest/configuration/#webex_configvoidsetMessage(String message)message defines the message templatevoidsetRoomID(String roomID)roomID defines the ID of the Webex Teams room where to send the messages.voidsetSendResolved(Boolean sendResolved)sendResolved defines whether or not to notify about resolved alerts.WebexConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
WebexConfig
public WebexConfig()
No args constructor for use in serialization
-
WebexConfig
public WebexConfig(String apiURL, HTTPConfig httpConfig, String message, String roomID, Boolean sendResolved)
-
-
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.
-
edit
public WebexConfigBuilder edit()
- Specified by:
editin interfaceEditable<WebexConfigBuilder>
-
toBuilder
public WebexConfigBuilder toBuilder()
-
-