| Package | Description |
|---|---|
| software.amazon.awssdk.services.pinpoint.model |
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
Message.Builder.action(Action action)
The action to occur if a recipient taps the push notification.
|
Message.Builder |
Message.Builder.action(String action)
The action to occur if a recipient taps the push notification.
|
Message.Builder |
Message.Builder.body(String body)
The body of the notification message.
|
static Message.Builder |
Message.builder() |
Message.Builder |
Message.Builder.imageIconUrl(String imageIconUrl)
The URL of the image to display as the push-notification icon, such as the icon for the app.
|
Message.Builder |
Message.Builder.imageSmallIconUrl(String imageSmallIconUrl)
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for
the app.
|
Message.Builder |
Message.Builder.imageUrl(String imageUrl)
The URL of an image to display in the push notification.
|
Message.Builder |
Message.Builder.jsonBody(String jsonBody)
The JSON payload to use for a silent push notification.
|
Message.Builder |
Message.Builder.mediaUrl(String mediaUrl)
The URL of the image or video to display in the push notification.
|
Message.Builder |
Message.Builder.rawContent(String rawContent)
The raw, JSON-formatted string to use as the payload for the notification message.
|
Message.Builder |
Message.Builder.silentPush(Boolean silentPush)
Specifies whether the notification is a silent push notification, which is a push notification that doesn't
display on a recipient's device.
|
Message.Builder |
Message.Builder.timeToLive(Integer timeToLive)
The number of seconds that the push-notification service should keep the message, if the service is unable to
deliver the notification the first time.
|
Message.Builder |
Message.Builder.title(String title)
The title to display above the notification message on a recipient's device.
|
Message.Builder |
Message.toBuilder() |
Message.Builder |
Message.Builder.url(String url)
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the
value of the Action property is URL.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Message.Builder> |
Message.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default MessageConfiguration.Builder |
MessageConfiguration.Builder.admMessage(Consumer<Message.Builder> admMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
default MessageConfiguration.Builder |
MessageConfiguration.Builder.apnsMessage(Consumer<Message.Builder> apnsMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
default MessageConfiguration.Builder |
MessageConfiguration.Builder.baiduMessage(Consumer<Message.Builder> baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
default MessageConfiguration.Builder |
MessageConfiguration.Builder.defaultMessage(Consumer<Message.Builder> defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
default MessageConfiguration.Builder |
MessageConfiguration.Builder.gcmMessage(Consumer<Message.Builder> gcmMessage)
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push
notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
Copyright © 2019. All rights reserved.