Interface SendMessageRequest.Builder<T extends AppMessageBody>
- Enclosing interface:
SendMessageRequest<T extends AppMessageBody>
public static interface SendMessageRequest.Builder<T extends AppMessageBody>
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesee gettersetCallbackUrl
(String callbackUrl) see gettersetChannelPriorityOrder
(List<ConversationChannel> channelPriorityOrder) see gettersetChannelProperties
(Map<String, String> channelProperties) see gettersetConversationMetadata
(Object conversationMetadata) see gettersetConversationMetadataUpdateStrategy
(MetadataUpdateStrategy conversationMetadataUpdateStrategy) see gettersetCorrelationId
(String correlationId) see gettersetMessage
(AppMessage<T> message) see gettersetMessageMetadata
(String messageMetadata) see gettersetProcessingStrategy
(ProcessingStrategy processingStrategy) see gettersetQueue
(MessageQueue queue) see gettersetRecipient
(Recipient recipient) see gettersee getter
-
Method Details
-
setAppId
see getter- Parameters:
appId
- see getter- Returns:
- Current builder
- See Also:
-
setCallbackUrl
see getter- Parameters:
callbackUrl
- see getter- Returns:
- Current builder
- See Also:
-
setChannelPriorityOrder
SendMessageRequest.Builder<T> setChannelPriorityOrder(List<ConversationChannel> channelPriorityOrder) see getter- Parameters:
channelPriorityOrder
- see getter- Returns:
- Current builder
- See Also:
-
setChannelProperties
see getter- Parameters:
channelProperties
- see getter- Returns:
- Current builder
- See Also:
-
setMessage
see getter- Parameters:
message
- see getter- Returns:
- Current builder
- See Also:
-
setMessageMetadata
see getter- Parameters:
messageMetadata
- see getter- Returns:
- Current builder
- See Also:
-
setConversationMetadata
see getter- Parameters:
conversationMetadata
- see getter- Returns:
- Current builder
- See Also:
-
setQueue
see getter- Parameters:
queue
- see getter- Returns:
- Current builder
- See Also:
-
setRecipient
see getter- Parameters:
recipient
- see getter- Returns:
- Current builder
- See Also:
-
setTtl
see getter- Parameters:
ttl
- see getter- Returns:
- Current builder
- See Also:
-
setProcessingStrategy
see getter- Parameters:
processingStrategy
- see getter- Returns:
- Current builder
- See Also:
-
setCorrelationId
see getter- Parameters:
correlationId
- see getter- Returns:
- Current builder
- See Also:
-
setConversationMetadataUpdateStrategy
SendMessageRequest.Builder<T> setConversationMetadataUpdateStrategy(MetadataUpdateStrategy conversationMetadataUpdateStrategy) see getter- Parameters:
conversationMetadataUpdateStrategy
- see getter- Returns:
- Current builder
- See Also:
-
build
SendMessageRequest<T> build()Create instance- Returns:
- The instance build with current builder values
-