Interface Event.Builder
- Enclosing interface:
Event
public static interface Event.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetAcceptTime
(Instant acceptTime) see gettersetChannelIdentity
(ChannelIdentity channelIdentity) see gettersetContactEvent
(ContactEvent contactEvent) see gettersetContactId
(String contactId) see gettersetContactMessageEvent
(ContactMessageEvent contactMessageEvent) see gettersetConversationId
(String conversationId) see gettersetDirection
(Event.DirectionEnum direction) see gettersee gettersetProcessingMode
(ProcessingMode processingMode) see getter
-
Method Details
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setDirection
see getter- Parameters:
direction
- see getter- Returns:
- Current builder
- See Also:
-
setContactEvent
see getter- Parameters:
contactEvent
- see getter- Returns:
- Current builder
- See Also:
-
setContactMessageEvent
see getter- Parameters:
contactMessageEvent
- see getter- Returns:
- Current builder
- See Also:
-
setChannelIdentity
see getter- Parameters:
channelIdentity
- see getter- Returns:
- Current builder
- See Also:
-
setContactId
see getter- Parameters:
contactId
- see getter- Returns:
- Current builder
- See Also:
-
setConversationId
see getter- Parameters:
conversationId
- see getter- Returns:
- Current builder
- See Also:
-
setAcceptTime
see getter- Parameters:
acceptTime
- see getter- Returns:
- Current builder
- See Also:
-
setProcessingMode
see getter- Parameters:
processingMode
- see getter- Returns:
- Current builder
- See Also:
-
build
Event build()Create instance- Returns:
- The instance build with current builder values
-