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, in ISO 8601 format, when the message template was created.
|
PushNotificationTemplateResponse.Builder |
defaultSubstitutions(String defaultSubstitutions)
The JSON object that specifies the default values that are used for message variables in the message
template.
|
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, in ISO 8601 format, when the message template was last modified.
|
PushNotificationTemplateResponse.Builder |
recommenderId(String recommenderId)
The unique identifier for the recommender model that's used by the message template.
|
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 |
templateDescription(String templateDescription)
The custom description of 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.
|
PushNotificationTemplateResponse.Builder |
version(String version)
The unique identifier, as an integer, for the active version of the message template, or the version of the
template that you specified by using the version parameter in your request.
|
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 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)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 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)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 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)PushNotificationTemplateResponse.Builder creationDate(String creationDate)
The date, in ISO 8601 format, when the message template was created.
creationDate - The date, in ISO 8601 format, 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 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)PushNotificationTemplateResponse.Builder defaultSubstitutions(String defaultSubstitutions)
The JSON object that specifies the default values that are used 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.
defaultSubstitutions - The JSON object that specifies the default values that are used 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.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 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)PushNotificationTemplateResponse.Builder lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the message template was last modified.
lastModifiedDate - The date, in ISO 8601 format, when the message template was last modified.PushNotificationTemplateResponse.Builder recommenderId(String recommenderId)
The unique identifier for the recommender model that's used by the message template.
recommenderId - The unique identifier for the recommender model that's used by the message template.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 templateDescription(String templateDescription)
The custom description of the message template.
templateDescription - The custom description of the message template.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,
TemplateTypePushNotificationTemplateResponse.Builder version(String version)
The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
version - The unique identifier, as an integer, for the active version of the message template, or the version
of the template that you specified by using the version parameter in your request.Copyright © 2022. All rights reserved.