@Stability(value=Stable) public static final class CfnPushTemplateProps.Builder extends Object implements software.amazon.jsii.Builder<CfnPushTemplateProps>
CfnPushTemplateProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnPushTemplateProps.Builder templateName(String templateName)
CfnPushTemplateProps.getTemplateName()templateName - The name of the message template. This parameter is required.this@Stability(value=Stable) public CfnPushTemplateProps.Builder adm(CfnPushTemplate.AndroidPushNotificationTemplateProperty adm)
CfnPushTemplateProps.getAdm()adm - The message template to use for the ADM (Amazon Device Messaging) channel.
This message template overrides the default template for push notification channels ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder adm(IResolvable adm)
CfnPushTemplateProps.getAdm()adm - The message template to use for the ADM (Amazon Device Messaging) channel.
This message template overrides the default template for push notification channels ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder apns(CfnPushTemplate.APNSPushNotificationTemplateProperty apns)
CfnPushTemplateProps.getApns()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 ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder apns(IResolvable apns)
CfnPushTemplateProps.getApns()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 ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder baidu(CfnPushTemplate.AndroidPushNotificationTemplateProperty baidu)
CfnPushTemplateProps.getBaidu()baidu - The message template to use for the Baidu (Baidu Cloud Push) channel.
This message template overrides the default template for push notification channels ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder baidu(IResolvable baidu)
CfnPushTemplateProps.getBaidu()baidu - The message template to use for the Baidu (Baidu Cloud Push) channel.
This message template overrides the default template for push notification channels ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder defaultValue(CfnPushTemplate.DefaultPushNotificationTemplateProperty defaultValue)
CfnPushTemplateProps.getDefaultValue()defaultValue - The default message template to use for push notification channels.this@Stability(value=Stable) public CfnPushTemplateProps.Builder defaultValue(IResolvable defaultValue)
CfnPushTemplateProps.getDefaultValue()defaultValue - The default message template to use for push notification channels.this@Stability(value=Stable) public CfnPushTemplateProps.Builder defaultSubstitutions(String defaultSubstitutions)
CfnPushTemplateProps.getDefaultSubstitutions()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.this@Stability(value=Stable) public CfnPushTemplateProps.Builder gcm(CfnPushTemplate.AndroidPushNotificationTemplateProperty gcm)
CfnPushTemplateProps.getGcm()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 ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder gcm(IResolvable gcm)
CfnPushTemplateProps.getGcm()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 ( Default ).this@Stability(value=Stable) public CfnPushTemplateProps.Builder tags(Object tags)
CfnPushTemplateProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnPushTemplateProps.Builder templateDescription(String templateDescription)
CfnPushTemplateProps.getTemplateDescription()templateDescription - A custom description of the message template.this@Stability(value=Stable) public CfnPushTemplateProps build()
build in interface software.amazon.jsii.Builder<CfnPushTemplateProps>CfnPushTemplatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.