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.
|
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 |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with 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 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 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 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 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 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 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 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.Copyright © 2019. All rights reserved.