Interface ConversationMessage.Builder
- Enclosing interface:
ConversationMessage
public static interface ConversationMessage.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetAcceptTime
(Instant acceptTime) see gettersetChannelIdentity
(ChannelIdentity channelIdentity) see gettersetContactId
(String contactId) see gettersetContent
(ConversationMessageBody content) see gettersetConversationId
(String conversationId) see gettersetDirection
(ConversationDirection direction) see gettersee gettersetInjected
(Boolean injected) see gettersetMetadata
(String metadata) see gettersetProcessingMode
(ProcessingMode processingMode) see gettersetSenderId
(String senderId) see getter
-
Method Details
-
setContent
see getter- Parameters:
content
- see getter- Returns:
- Current builder
- See Also:
-
setAcceptTime
see getter- Parameters:
acceptTime
- 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:
-
setDirection
see getter- Parameters:
direction
- see getter- Returns:
- Current builder
- See Also:
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setMetadata
see getter- Parameters:
metadata
- see getter- Returns:
- Current builder
- See Also:
-
setInjected
see getter- Parameters:
injected
- see getter- Returns:
- Current builder
- See Also:
-
setSenderId
see getter- Parameters:
senderId
- see getter- Returns:
- Current builder
- See Also:
-
setProcessingMode
see getter- Parameters:
processingMode
- see getter- Returns:
- Current builder
- See Also:
-
build
ConversationMessage build()Create instance- Returns:
- The instance build with current builder values
-