Class MSTeamsConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.MSTeamsConfig
-
- All Implemented Interfaces:
Editable<MSTeamsConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MSTeamsConfig extends Object implements Editable<MSTeamsConfigBuilder>, KubernetesResource
MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MSTeamsConfig()No args constructor for use in serializationMSTeamsConfig(HTTPConfig httpConfig, Boolean sendResolved, String summary, String text, String title, SecretKeySelector webhookUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MSTeamsConfigBuilderedit()Map<String,Object>getAdditionalProperties()HTTPConfiggetHttpConfig()MSTeamsConfig configures notifications via Microsoft Teams.BooleangetSendResolved()sendResolved defines whether or not to notify about resolved alerts.StringgetSummary()summary defines the message summary template for Teams notifications.StringgetText()text defines the message body template for Teams notifications.StringgetTitle()title defines the message title template for Teams notifications.SecretKeySelectorgetWebhookUrl()MSTeamsConfig configures notifications via Microsoft Teams.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHttpConfig(HTTPConfig httpConfig)MSTeamsConfig configures notifications via Microsoft Teams.voidsetSendResolved(Boolean sendResolved)sendResolved defines whether or not to notify about resolved alerts.voidsetSummary(String summary)summary defines the message summary template for Teams notifications.voidsetText(String text)text defines the message body template for Teams notifications.voidsetTitle(String title)title defines the message title template for Teams notifications.voidsetWebhookUrl(SecretKeySelector webhookUrl)MSTeamsConfig configures notifications via Microsoft Teams.MSTeamsConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
MSTeamsConfig
public MSTeamsConfig()
No args constructor for use in serialization
-
MSTeamsConfig
public MSTeamsConfig(HTTPConfig httpConfig, Boolean sendResolved, String summary, String text, String title, SecretKeySelector webhookUrl)
-
-
Method Detail
-
getHttpConfig
public HTTPConfig getHttpConfig()
MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
-
setHttpConfig
public void setHttpConfig(HTTPConfig httpConfig)
MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
-
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.
-
getSummary
public String getSummary()
summary defines the message summary template for Teams notifications. This provides a brief overview that appears in Teams notification previews. It requires Alertmanager >= 0.27.0.
-
setSummary
public void setSummary(String summary)
summary defines the message summary template for Teams notifications. This provides a brief overview that appears in Teams notification previews. It requires Alertmanager >= 0.27.0.
-
getText
public String getText()
text defines the message body template for Teams notifications. This contains the detailed content of the Teams message.
-
setText
public void setText(String text)
text defines the message body template for Teams notifications. This contains the detailed content of the Teams message.
-
getTitle
public String getTitle()
title defines the message title template for Teams notifications. This appears as the main heading of the Teams message card.
-
setTitle
public void setTitle(String title)
title defines the message title template for Teams notifications. This appears as the main heading of the Teams message card.
-
getWebhookUrl
public SecretKeySelector getWebhookUrl()
MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
-
setWebhookUrl
public void setWebhookUrl(SecretKeySelector webhookUrl)
MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
-
edit
public MSTeamsConfigBuilder edit()
- Specified by:
editin interfaceEditable<MSTeamsConfigBuilder>
-
toBuilder
public MSTeamsConfigBuilder toBuilder()
-
-