public static interface PushNotificationTemplateResponse.Builder extends SdkPojo, CopyableBuilder<PushNotificationTemplateResponse.Builder,PushNotificationTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
PushNotificationTemplateResponse.Builder |
adm(AndroidPushNotificationTemplate adm)
The message template that's used for the ADM (Amazon Device Messaging) channel.
|
default PushNotificationTemplateResponse.Builder |
adm(Consumer<AndroidPushNotificationTemplate.Builder> adm)
The message template that's used for the ADM (Amazon Device Messaging) channel.
|
PushNotificationTemplateResponse.Builder |
apns(APNSPushNotificationTemplate apns)
The message template that's used for the APNs (Apple Push Notification service) channel.
|
default PushNotificationTemplateResponse.Builder |
apns(Consumer<APNSPushNotificationTemplate.Builder> apns)
The message template that's used for the APNs (Apple Push Notification service) channel.
|
PushNotificationTemplateResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
PushNotificationTemplateResponse.Builder |
baidu(AndroidPushNotificationTemplate baidu)
The message template that's used for the Baidu (Baidu Cloud Push) channel.
|
default PushNotificationTemplateResponse.Builder |
baidu(Consumer<AndroidPushNotificationTemplate.Builder> baidu)
The message template that's used for the Baidu (Baidu Cloud Push) channel.
|
PushNotificationTemplateResponse.Builder |
creationDate(String creationDate)
The date when the message template was created.
|
default PushNotificationTemplateResponse.Builder |
defaultValue(Consumer<DefaultPushNotificationTemplate.Builder> defaultValue)
The default message template that's used for push notification channels.
|
PushNotificationTemplateResponse.Builder |
defaultValue(DefaultPushNotificationTemplate defaultValue)
The default message template that's used for push notification channels.
|
PushNotificationTemplateResponse.Builder |
gcm(AndroidPushNotificationTemplate gcm)
The message template that's used for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
default PushNotificationTemplateResponse.Builder |
gcm(Consumer<AndroidPushNotificationTemplate.Builder> gcm)
The message template that's used for the GCM channel, which is used to send notifications through the
Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
|
PushNotificationTemplateResponse.Builder |
lastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
|
PushNotificationTemplateResponse.Builder |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message
template.
|
PushNotificationTemplateResponse.Builder |
templateName(String templateName)
The name of the message template.
|
PushNotificationTemplateResponse.Builder |
templateType(String templateType)
The type of channel that the message template is designed for.
|
PushNotificationTemplateResponse.Builder |
templateType(TemplateType templateType)
The type of channel that the message template is designed for.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPushNotificationTemplateResponse.Builder adm(AndroidPushNotificationTemplate adm)
The message template that's used for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
adm - The message template that's used for the ADM (Amazon Device Messaging) channel. This message template
overrides the default template for push notification channels (DefaultPushNotificationTemplate).default PushNotificationTemplateResponse.Builder adm(Consumer<AndroidPushNotificationTemplate.Builder> adm)
The message template that's used 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)PushNotificationTemplateResponse.Builder apns(APNSPushNotificationTemplate apns)
The message template that's used for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
apns - The message template that's used for the APNs (Apple Push Notification service) channel. This message
template overrides the default template for push notification channels
(DefaultPushNotificationTemplate).default PushNotificationTemplateResponse.Builder apns(Consumer<APNSPushNotificationTemplate.Builder> apns)
The message template that's used 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)PushNotificationTemplateResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.PushNotificationTemplateResponse.Builder baidu(AndroidPushNotificationTemplate baidu)
The message template that's used for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
baidu - The message template that's used for the Baidu (Baidu Cloud Push) channel. This message template
overrides the default template for push notification channels (DefaultPushNotificationTemplate).default PushNotificationTemplateResponse.Builder baidu(Consumer<AndroidPushNotificationTemplate.Builder> baidu)
The message template that's used 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)PushNotificationTemplateResponse.Builder creationDate(String creationDate)
The date when the message template was created.
creationDate - The date when the message template was created.PushNotificationTemplateResponse.Builder defaultValue(DefaultPushNotificationTemplate defaultValue)
The default message template that's used for push notification channels.
defaultValue - The default message template that's used for push notification channels.default PushNotificationTemplateResponse.Builder defaultValue(Consumer<DefaultPushNotificationTemplate.Builder> defaultValue)
The default message template that's used 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)PushNotificationTemplateResponse.Builder gcm(AndroidPushNotificationTemplate gcm)
The message template that's used 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 that's used 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 PushNotificationTemplateResponse.Builder gcm(Consumer<AndroidPushNotificationTemplate.Builder> gcm)
The message template that's used 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)PushNotificationTemplateResponse.Builder lastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
lastModifiedDate - The date when the message template was last modified.PushNotificationTemplateResponse.Builder tags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated 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 identifies the tags that are associated with the
message template. Each tag consists of a required tag key and an associated tag value.PushNotificationTemplateResponse.Builder templateName(String templateName)
The name of the message template.
templateName - The name of the message template.PushNotificationTemplateResponse.Builder templateType(String templateType)
The type of channel that the message template is designed for. For a push notification template, this value is PUSH.
templateType - The type of channel that the message template is designed for. For a push notification template, this
value is PUSH.TemplateType,
TemplateTypePushNotificationTemplateResponse.Builder templateType(TemplateType templateType)
The type of channel that the message template is designed for. For a push notification template, this value is PUSH.
templateType - The type of channel that the message template is designed for. For a push notification template, this
value is PUSH.TemplateType,
TemplateTypeCopyright © 2019. All rights reserved.