public static interface PushNotificationTemplateRequest.Builder extends SdkPojo, CopyableBuilder<PushNotificationTemplateRequest.Builder,PushNotificationTemplateRequest>
| Modifier and Type | Method and Description |
|---|---|
PushNotificationTemplateRequest.Builder |
adm(AndroidPushNotificationTemplate adm)
The message template to use for the ADM (Amazon Device Messaging) channel.
|
default PushNotificationTemplateRequest.Builder |
adm(Consumer<AndroidPushNotificationTemplate.Builder> adm)
The message template to use for the ADM (Amazon Device Messaging) channel.
|
PushNotificationTemplateRequest.Builder |
apns(APNSPushNotificationTemplate apns)
The message template to use for the APNs (Apple Push Notification service) channel.
|
default PushNotificationTemplateRequest.Builder |
apns(Consumer<APNSPushNotificationTemplate.Builder> apns)
The message template to use for the APNs (Apple Push Notification service) channel.
|
PushNotificationTemplateRequest.Builder |
baidu(AndroidPushNotificationTemplate baidu)
The message template to use for the Baidu (Baidu Cloud Push) channel.
|
default PushNotificationTemplateRequest.Builder |
baidu(Consumer<AndroidPushNotificationTemplate.Builder> baidu)
The message template to use for the Baidu (Baidu Cloud Push) channel.
|
PushNotificationTemplateRequest.Builder |
defaultSubstitutions(String defaultSubstitutions)
A JSON object that specifies the default values to use for message variables in the message template.
|
default PushNotificationTemplateRequest.Builder |
defaultValue(Consumer<DefaultPushNotificationTemplate.Builder> defaultValue)
The default message template to use for push notification channels.
|
PushNotificationTemplateRequest.Builder |
defaultValue(DefaultPushNotificationTemplate defaultValue)
The default message template to use for push notification channels.
|
PushNotificationTemplateRequest.Builder |
gcm(AndroidPushNotificationTemplate gcm)
The message template to use for the GCM channel, which is used to send notifications through the Firebase
Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
default PushNotificationTemplateRequest.Builder |
gcm(Consumer<AndroidPushNotificationTemplate.Builder> gcm)
The message template to use for the GCM channel, which is used to send notifications through the Firebase
Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
PushNotificationTemplateRequest.Builder |
recommenderId(String recommenderId)
The unique identifier for the recommender model to use for the message template.
|
PushNotificationTemplateRequest.Builder |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template.
|
PushNotificationTemplateRequest.Builder |
templateDescription(String templateDescription)
A custom description of the message template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPushNotificationTemplateRequest.Builder adm(AndroidPushNotificationTemplate adm)
The message template to use for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
adm - The message template to use for the ADM (Amazon Device Messaging) channel. This message template
overrides the default template for push notification channels (DefaultPushNotificationTemplate).default PushNotificationTemplateRequest.Builder adm(Consumer<AndroidPushNotificationTemplate.Builder> adm)
The message template to use for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
This is a convenience method that creates an instance of theAndroidPushNotificationTemplate.Builder
avoiding the need to create one manually via AndroidPushNotificationTemplate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to adm(AndroidPushNotificationTemplate).
adm - a consumer that will call methods on AndroidPushNotificationTemplate.Builderadm(AndroidPushNotificationTemplate)PushNotificationTemplateRequest.Builder apns(APNSPushNotificationTemplate apns)
The message template to use for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
apns - The message template to use for the APNs (Apple Push Notification service) channel. This message
template overrides the default template for push notification channels
(DefaultPushNotificationTemplate).default PushNotificationTemplateRequest.Builder apns(Consumer<APNSPushNotificationTemplate.Builder> apns)
The message template to use for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
This is a convenience method that creates an instance of theAPNSPushNotificationTemplate.Builder
avoiding the need to create one manually via APNSPushNotificationTemplate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to apns(APNSPushNotificationTemplate).
apns - a consumer that will call methods on APNSPushNotificationTemplate.Builderapns(APNSPushNotificationTemplate)PushNotificationTemplateRequest.Builder baidu(AndroidPushNotificationTemplate baidu)
The message template to use for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
baidu - The message template to use for the Baidu (Baidu Cloud Push) channel. This message template overrides
the default template for push notification channels (DefaultPushNotificationTemplate).default PushNotificationTemplateRequest.Builder baidu(Consumer<AndroidPushNotificationTemplate.Builder> baidu)
The message template to use for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
This is a convenience method that creates an instance of theAndroidPushNotificationTemplate.Builder
avoiding the need to create one manually via AndroidPushNotificationTemplate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to baidu(AndroidPushNotificationTemplate).
baidu - a consumer that will call methods on AndroidPushNotificationTemplate.Builderbaidu(AndroidPushNotificationTemplate)PushNotificationTemplateRequest.Builder defaultValue(DefaultPushNotificationTemplate defaultValue)
The default message template to use for push notification channels.
defaultValue - The default message template to use for push notification channels.default PushNotificationTemplateRequest.Builder defaultValue(Consumer<DefaultPushNotificationTemplate.Builder> defaultValue)
The default message template to use for push notification channels.
This is a convenience method that creates an instance of theDefaultPushNotificationTemplate.Builder
avoiding the need to create one manually via DefaultPushNotificationTemplate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to defaultValue(DefaultPushNotificationTemplate).
defaultValue - a consumer that will call methods on DefaultPushNotificationTemplate.BuilderdefaultValue(DefaultPushNotificationTemplate)PushNotificationTemplateRequest.Builder defaultSubstitutions(String defaultSubstitutions)
A JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
defaultSubstitutions - A JSON object that specifies the default values to use for message variables in the message template.
This object is a set of key-value pairs. Each key defines a message variable in the template. The
corresponding value defines the default value for that variable. When you create a message that's
based on the template, you can override these defaults with message-specific and address-specific
variables and values.PushNotificationTemplateRequest.Builder gcm(AndroidPushNotificationTemplate gcm)
The message template to use for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
gcm - The message template to use for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template
overrides the default template for push notification channels (DefaultPushNotificationTemplate).default PushNotificationTemplateRequest.Builder gcm(Consumer<AndroidPushNotificationTemplate.Builder> gcm)
The message template to use for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
This is a convenience method that creates an instance of theAndroidPushNotificationTemplate.Builder
avoiding the need to create one manually via AndroidPushNotificationTemplate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to gcm(AndroidPushNotificationTemplate).
gcm - a consumer that will call methods on AndroidPushNotificationTemplate.Buildergcm(AndroidPushNotificationTemplate)PushNotificationTemplateRequest.Builder recommenderId(String recommenderId)
The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
recommenderId - The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses
this value to determine how to retrieve and process data from a recommender model when it sends
messages that use the template, if the template contains message variables for recommendation data.PushNotificationTemplateRequest.Builder tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
tags - A string-to-string map of key-value pairs that defines the tags to associate with the message
template. Each tag consists of a required tag key and an associated tag value.PushNotificationTemplateRequest.Builder templateDescription(String templateDescription)
A custom description of the message template.
templateDescription - A custom description of the message template.Copyright © 2022. All rights reserved.