Interface AppMessage.Builder<T extends AppMessageBody>
- Enclosing interface:
AppMessage<T extends AppMessageBody>
public static interface AppMessage.Builder<T extends AppMessageBody>
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
see gettersee gettersetChannelSpecificMessage
(Map<ConversationChannel, ChannelSpecificMessage> channelSpecificMessage) see gettersetExplicitChannelMessage
(Map<ConversationChannel, Object> explicitChannelMessage) see gettersetExplicitChannelOmniMessage
(Map<OmniMessageOverride.ChannelSpecificTemplate, OmniMessageOverride> explicitChannelOmniMessage) see getter
-
Method Details
-
setBody
see getter- Parameters:
message
- see getter- Returns:
- Current builder
- See Also:
-
setExplicitChannelMessage
AppMessage.Builder<T> setExplicitChannelMessage(Map<ConversationChannel, Object> explicitChannelMessage) see getter- Parameters:
explicitChannelMessage
- see getter- Returns:
- Current builder
- See Also:
-
setExplicitChannelOmniMessage
AppMessage.Builder<T> setExplicitChannelOmniMessage(Map<OmniMessageOverride.ChannelSpecificTemplate, OmniMessageOverride> explicitChannelOmniMessage) see getter- Parameters:
explicitChannelOmniMessage
- see getter- Returns:
- Current builder
- See Also:
-
setChannelSpecificMessage
AppMessage.Builder<T> setChannelSpecificMessage(Map<ConversationChannel, ChannelSpecificMessage> channelSpecificMessage) see getter- Parameters:
channelSpecificMessage
- see getter- Returns:
- Current builder
- See Also:
-
setAgent
see getter- Parameters:
agent
- see getter- Returns:
- Current builder
- See Also:
-
build
AppMessage<T> build()
-