public static interface ChannelMessageCallback.Builder extends SdkPojo, CopyableBuilder<ChannelMessageCallback.Builder,ChannelMessageCallback>
| Modifier and Type | Method and Description |
|---|---|
ChannelMessageCallback.Builder |
content(String content)
The message content.
|
ChannelMessageCallback.Builder |
messageAttributes(Map<String,MessageAttributeValue> messageAttributes)
The attributes for the message, used for message filtering along with a
FilterRule defined in
the PushNotificationPreferences. |
ChannelMessageCallback.Builder |
messageId(String messageId)
The message ID.
|
ChannelMessageCallback.Builder |
metadata(String metadata)
The message metadata.
|
default ChannelMessageCallback.Builder |
pushNotification(Consumer<PushNotificationConfiguration.Builder> pushNotification)
The push notification configuration of the message.
|
ChannelMessageCallback.Builder |
pushNotification(PushNotificationConfiguration pushNotification)
The push notification configuration of the message.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannelMessageCallback.Builder messageId(String messageId)
The message ID.
messageId - The message ID.ChannelMessageCallback.Builder content(String content)
The message content.
content - The message content.ChannelMessageCallback.Builder metadata(String metadata)
The message metadata.
metadata - The message metadata.ChannelMessageCallback.Builder pushNotification(PushNotificationConfiguration pushNotification)
The push notification configuration of the message.
pushNotification - The push notification configuration of the message.default ChannelMessageCallback.Builder pushNotification(Consumer<PushNotificationConfiguration.Builder> pushNotification)
The push notification configuration of the message.
This is a convenience method that creates an instance of thePushNotificationConfiguration.Builder
avoiding the need to create one manually via PushNotificationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to pushNotification(PushNotificationConfiguration).pushNotification - a consumer that will call methods on PushNotificationConfiguration.BuilderpushNotification(PushNotificationConfiguration)ChannelMessageCallback.Builder messageAttributes(Map<String,MessageAttributeValue> messageAttributes)
The attributes for the message, used for message filtering along with a FilterRule defined in
the PushNotificationPreferences.
messageAttributes - The attributes for the message, used for message filtering along with a FilterRule
defined in the PushNotificationPreferences.Copyright © 2022. All rights reserved.