Class HistoryAddedEvent.HistoryAddedEventBuilder
java.lang.Object
com.totvs.tjf.communication.sdk.events.history.HistoryAddedEvent.HistoryAddedEventBuilder
- Enclosing class:
HistoryAddedEvent
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) build()
date
(ZonedDateTime date) listeners
(Set<HistoryAddedEvent.ListenerEvent> listeners) recipients
(Set<HistoryAddedEvent.RecipientEvent> recipients) senderName
(String senderName) tags
(Set<HistoryAddedEvent.TagEvent> tags) toString()
watchers
(Set<HistoryAddedEvent.WatcherEvent> watchers)
-
Method Details
-
id
- Returns:
this
.
-
applicationId
- Returns:
this
.
-
subject
- Returns:
this
.
-
senderName
- Returns:
this
.
-
recipients
public HistoryAddedEvent.HistoryAddedEventBuilder recipients(Set<HistoryAddedEvent.RecipientEvent> recipients) - Returns:
this
.
-
listeners
public HistoryAddedEvent.HistoryAddedEventBuilder listeners(Set<HistoryAddedEvent.ListenerEvent> listeners) - Returns:
this
.
-
watchers
public HistoryAddedEvent.HistoryAddedEventBuilder watchers(Set<HistoryAddedEvent.WatcherEvent> watchers) - Returns:
this
.
-
tags
- Returns:
this
.
-
date
- Returns:
this
.
-
build
-
toString
-