Class Receiver
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1alpha1.Receiver
-
- All Implemented Interfaces:
Editable<ReceiverBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Receiver extends Object implements Editable<ReceiverBuilder>, KubernetesResource
Receiver defines one or more notification integrations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Receiver()No args constructor for use in serializationReceiver(List<DiscordConfig> discordConfigs, List<EmailConfig> emailConfigs, List<MSTeamsConfig> msteamsConfigs, List<MSTeamsV2Config> msteamsv2Configs, String name, List<OpsGenieConfig> opsgenieConfigs, List<PagerDutyConfig> pagerdutyConfigs, List<PushoverConfig> pushoverConfigs, List<RocketChatConfig> rocketchatConfigs, List<SlackConfig> slackConfigs, List<SNSConfig> snsConfigs, List<TelegramConfig> telegramConfigs, List<VictorOpsConfig> victoropsConfigs, List<WebexConfig> webexConfigs, List<WebhookConfig> webhookConfigs, List<WeChatConfig> wechatConfigs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReceiverBuilderedit()Map<String,Object>getAdditionalProperties()List<DiscordConfig>getDiscordConfigs()discordConfigs defines the list of Slack configurations.List<EmailConfig>getEmailConfigs()emailConfigs defines the list of Email configurations.List<MSTeamsConfig>getMsteamsConfigs()msteamsConfigs defines the list of MSTeams configurations.List<MSTeamsV2Config>getMsteamsv2Configs()msteamsv2Configs defines the list of MSTeamsV2 configurations.StringgetName()name defines the name of the receiver.List<OpsGenieConfig>getOpsgenieConfigs()opsgenieConfigs defines the list of OpsGenie configurations.List<PagerDutyConfig>getPagerdutyConfigs()pagerdutyConfigs defines the List of PagerDuty configurations.List<PushoverConfig>getPushoverConfigs()pushoverConfigs defines the list of Pushover configurations.List<RocketChatConfig>getRocketchatConfigs()rocketchatConfigs defines the list of RocketChat configurations.List<SlackConfig>getSlackConfigs()slackConfigs defines the list of Slack configurations.List<SNSConfig>getSnsConfigs()snsConfigs defines the list of SNS configurationsList<TelegramConfig>getTelegramConfigs()telegramConfigs defines the list of Telegram configurations.List<VictorOpsConfig>getVictoropsConfigs()victoropsConfigs defines the list of VictorOps configurations.List<WebexConfig>getWebexConfigs()webexConfigs defines the list of Webex configurations.List<WebhookConfig>getWebhookConfigs()webhookConfigs defines the List of webhook configurations.List<WeChatConfig>getWechatConfigs()wechatConfigs defines the list of WeChat configurations.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDiscordConfigs(List<DiscordConfig> discordConfigs)discordConfigs defines the list of Slack configurations.voidsetEmailConfigs(List<EmailConfig> emailConfigs)emailConfigs defines the list of Email configurations.voidsetMsteamsConfigs(List<MSTeamsConfig> msteamsConfigs)msteamsConfigs defines the list of MSTeams configurations.voidsetMsteamsv2Configs(List<MSTeamsV2Config> msteamsv2Configs)msteamsv2Configs defines the list of MSTeamsV2 configurations.voidsetName(String name)name defines the name of the receiver.voidsetOpsgenieConfigs(List<OpsGenieConfig> opsgenieConfigs)opsgenieConfigs defines the list of OpsGenie configurations.voidsetPagerdutyConfigs(List<PagerDutyConfig> pagerdutyConfigs)pagerdutyConfigs defines the List of PagerDuty configurations.voidsetPushoverConfigs(List<PushoverConfig> pushoverConfigs)pushoverConfigs defines the list of Pushover configurations.voidsetRocketchatConfigs(List<RocketChatConfig> rocketchatConfigs)rocketchatConfigs defines the list of RocketChat configurations.voidsetSlackConfigs(List<SlackConfig> slackConfigs)slackConfigs defines the list of Slack configurations.voidsetSnsConfigs(List<SNSConfig> snsConfigs)snsConfigs defines the list of SNS configurationsvoidsetTelegramConfigs(List<TelegramConfig> telegramConfigs)telegramConfigs defines the list of Telegram configurations.voidsetVictoropsConfigs(List<VictorOpsConfig> victoropsConfigs)victoropsConfigs defines the list of VictorOps configurations.voidsetWebexConfigs(List<WebexConfig> webexConfigs)webexConfigs defines the list of Webex configurations.voidsetWebhookConfigs(List<WebhookConfig> webhookConfigs)webhookConfigs defines the List of webhook configurations.voidsetWechatConfigs(List<WeChatConfig> wechatConfigs)wechatConfigs defines the list of WeChat configurations.ReceiverBuildertoBuilder()
-
-
-
Constructor Detail
-
Receiver
public Receiver()
No args constructor for use in serialization
-
Receiver
public Receiver(List<DiscordConfig> discordConfigs, List<EmailConfig> emailConfigs, List<MSTeamsConfig> msteamsConfigs, List<MSTeamsV2Config> msteamsv2Configs, String name, List<OpsGenieConfig> opsgenieConfigs, List<PagerDutyConfig> pagerdutyConfigs, List<PushoverConfig> pushoverConfigs, List<RocketChatConfig> rocketchatConfigs, List<SlackConfig> slackConfigs, List<SNSConfig> snsConfigs, List<TelegramConfig> telegramConfigs, List<VictorOpsConfig> victoropsConfigs, List<WebexConfig> webexConfigs, List<WebhookConfig> webhookConfigs, List<WeChatConfig> wechatConfigs)
-
-
Method Detail
-
getDiscordConfigs
public List<DiscordConfig> getDiscordConfigs()
discordConfigs defines the list of Slack configurations.
-
setDiscordConfigs
public void setDiscordConfigs(List<DiscordConfig> discordConfigs)
discordConfigs defines the list of Slack configurations.
-
getEmailConfigs
public List<EmailConfig> getEmailConfigs()
emailConfigs defines the list of Email configurations.
-
setEmailConfigs
public void setEmailConfigs(List<EmailConfig> emailConfigs)
emailConfigs defines the list of Email configurations.
-
getMsteamsConfigs
public List<MSTeamsConfig> getMsteamsConfigs()
msteamsConfigs defines the list of MSTeams configurations. It requires Alertmanager >= 0.26.0.
-
setMsteamsConfigs
public void setMsteamsConfigs(List<MSTeamsConfig> msteamsConfigs)
msteamsConfigs defines the list of MSTeams configurations. It requires Alertmanager >= 0.26.0.
-
getMsteamsv2Configs
public List<MSTeamsV2Config> getMsteamsv2Configs()
msteamsv2Configs defines the list of MSTeamsV2 configurations. It requires Alertmanager >= 0.28.0.
-
setMsteamsv2Configs
public void setMsteamsv2Configs(List<MSTeamsV2Config> msteamsv2Configs)
msteamsv2Configs defines the list of MSTeamsV2 configurations. It requires Alertmanager >= 0.28.0.
-
getName
public String getName()
name defines the name of the receiver. Must be unique across all items from the list.
-
setName
public void setName(String name)
name defines the name of the receiver. Must be unique across all items from the list.
-
getOpsgenieConfigs
public List<OpsGenieConfig> getOpsgenieConfigs()
opsgenieConfigs defines the list of OpsGenie configurations.
-
setOpsgenieConfigs
public void setOpsgenieConfigs(List<OpsGenieConfig> opsgenieConfigs)
opsgenieConfigs defines the list of OpsGenie configurations.
-
getPagerdutyConfigs
public List<PagerDutyConfig> getPagerdutyConfigs()
pagerdutyConfigs defines the List of PagerDuty configurations.
-
setPagerdutyConfigs
public void setPagerdutyConfigs(List<PagerDutyConfig> pagerdutyConfigs)
pagerdutyConfigs defines the List of PagerDuty configurations.
-
getPushoverConfigs
public List<PushoverConfig> getPushoverConfigs()
pushoverConfigs defines the list of Pushover configurations.
-
setPushoverConfigs
public void setPushoverConfigs(List<PushoverConfig> pushoverConfigs)
pushoverConfigs defines the list of Pushover configurations.
-
getRocketchatConfigs
public List<RocketChatConfig> getRocketchatConfigs()
rocketchatConfigs defines the list of RocketChat configurations. It requires Alertmanager >= 0.28.0.
-
setRocketchatConfigs
public void setRocketchatConfigs(List<RocketChatConfig> rocketchatConfigs)
rocketchatConfigs defines the list of RocketChat configurations. It requires Alertmanager >= 0.28.0.
-
getSlackConfigs
public List<SlackConfig> getSlackConfigs()
slackConfigs defines the list of Slack configurations.
-
setSlackConfigs
public void setSlackConfigs(List<SlackConfig> slackConfigs)
slackConfigs defines the list of Slack configurations.
-
getSnsConfigs
public List<SNSConfig> getSnsConfigs()
snsConfigs defines the list of SNS configurations
-
setSnsConfigs
public void setSnsConfigs(List<SNSConfig> snsConfigs)
snsConfigs defines the list of SNS configurations
-
getTelegramConfigs
public List<TelegramConfig> getTelegramConfigs()
telegramConfigs defines the list of Telegram configurations.
-
setTelegramConfigs
public void setTelegramConfigs(List<TelegramConfig> telegramConfigs)
telegramConfigs defines the list of Telegram configurations.
-
getVictoropsConfigs
public List<VictorOpsConfig> getVictoropsConfigs()
victoropsConfigs defines the list of VictorOps configurations.
-
setVictoropsConfigs
public void setVictoropsConfigs(List<VictorOpsConfig> victoropsConfigs)
victoropsConfigs defines the list of VictorOps configurations.
-
getWebexConfigs
public List<WebexConfig> getWebexConfigs()
webexConfigs defines the list of Webex configurations.
-
setWebexConfigs
public void setWebexConfigs(List<WebexConfig> webexConfigs)
webexConfigs defines the list of Webex configurations.
-
getWebhookConfigs
public List<WebhookConfig> getWebhookConfigs()
webhookConfigs defines the List of webhook configurations.
-
setWebhookConfigs
public void setWebhookConfigs(List<WebhookConfig> webhookConfigs)
webhookConfigs defines the List of webhook configurations.
-
getWechatConfigs
public List<WeChatConfig> getWechatConfigs()
wechatConfigs defines the list of WeChat configurations.
-
setWechatConfigs
public void setWechatConfigs(List<WeChatConfig> wechatConfigs)
wechatConfigs defines the list of WeChat configurations.
-
edit
public ReceiverBuilder edit()
- Specified by:
editin interfaceEditable<ReceiverBuilder>
-
toBuilder
public ReceiverBuilder toBuilder()
-
-