Class NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder
java.lang.Object
com.totvs.tjf.communication.sdk.events.notification.NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder
- Enclosing class:
NotificationAddedEvent.NotificationMessageEvent
public static class NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) attachments
(Set<MessageEvent.AttachmentEvent> attachments) build()
date
(ZonedDateTime date) notificationIconIdentifier
(String notificationIconIdentifier) params
(Set<MessageEvent.TemplateParamEvent> params) targetApplicationId
(String targetApplicationId) templateId
(String templateId) toString()
type
(NotificationType type)
-
Method Details
-
applicationId
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder applicationId(String applicationId) - Returns:
this
.
-
subject
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder subject(String subject) - Returns:
this
.
-
sender
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder sender(String sender) - Returns:
this
.
-
recipient
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder recipient(String recipient) - Returns:
this
.
-
type
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder type(NotificationType type) - Returns:
this
.
-
linkUrl
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder linkUrl(String linkUrl) - Returns:
this
.
-
title
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder title(String title) - Returns:
this
.
-
category
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder category(String category) - Returns:
this
.
-
targetApplicationId
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder targetApplicationId(String targetApplicationId) - Returns:
this
.
-
priority
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder priority(Boolean priority) - Returns:
this
.
-
notificationIconIdentifier
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder notificationIconIdentifier(String notificationIconIdentifier) - Returns:
this
.
-
templateId
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder templateId(String templateId) - Returns:
this
.
-
params
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder params(Set<MessageEvent.TemplateParamEvent> params) - Returns:
this
.
-
content
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder content(String content) - Returns:
this
.
-
attachments
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder attachments(Set<MessageEvent.AttachmentEvent> attachments) - Returns:
this
.
-
date
public NotificationAddedEvent.NotificationMessageEvent.NotificationMessageEventBuilder date(ZonedDateTime date) - Returns:
this
.
-
build
-
toString
-