Class CfnCampaignPropsMixin.MessageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnCampaignPropsMixin.MessageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.MessageConfigurationProperty>
- Enclosing interface:
CfnCampaignPropsMixin.MessageConfigurationProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.MessageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.MessageConfigurationProperty>
A builder for
CfnCampaignPropsMixin.MessageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadmMessage(IResolvable admMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getAdmMessage()admMessage(CfnCampaignPropsMixin.MessageProperty admMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getAdmMessage()apnsMessage(IResolvable apnsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getApnsMessage()apnsMessage(CfnCampaignPropsMixin.MessageProperty apnsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getApnsMessage()baiduMessage(IResolvable baiduMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getBaiduMessage()baiduMessage(CfnCampaignPropsMixin.MessageProperty baiduMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getBaiduMessage()build()Builds the configured instance.customMessage(IResolvable customMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getCustomMessage()customMessage(CfnCampaignPropsMixin.CampaignCustomMessageProperty customMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getCustomMessage()defaultMessage(IResolvable defaultMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getDefaultMessage()defaultMessage(CfnCampaignPropsMixin.MessageProperty defaultMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getDefaultMessage()emailMessage(IResolvable emailMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getEmailMessage()Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getEmailMessage()gcmMessage(IResolvable gcmMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getGcmMessage()gcmMessage(CfnCampaignPropsMixin.MessageProperty gcmMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getGcmMessage()inAppMessage(IResolvable inAppMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getInAppMessage()Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getInAppMessage()smsMessage(IResolvable smsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getSmsMessage()Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getSmsMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
admMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder admMessage(IResolvable admMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getAdmMessage()- Parameters:
admMessage- The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.- Returns:
this
-
admMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder admMessage(CfnCampaignPropsMixin.MessageProperty admMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getAdmMessage()- Parameters:
admMessage- The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.- Returns:
this
-
apnsMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder apnsMessage(IResolvable apnsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getApnsMessage()- Parameters:
apnsMessage- The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.- Returns:
this
-
apnsMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder apnsMessage(CfnCampaignPropsMixin.MessageProperty apnsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getApnsMessage()- Parameters:
apnsMessage- The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.- Returns:
this
-
baiduMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder baiduMessage(IResolvable baiduMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getBaiduMessage()- Parameters:
baiduMessage- The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.- Returns:
this
-
baiduMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder baiduMessage(CfnCampaignPropsMixin.MessageProperty baiduMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getBaiduMessage()- Parameters:
baiduMessage- The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.- Returns:
this
-
customMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder customMessage(IResolvable customMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getCustomMessage()- Parameters:
customMessage- The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.- Returns:
this
-
customMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder customMessage(CfnCampaignPropsMixin.CampaignCustomMessageProperty customMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getCustomMessage()- Parameters:
customMessage- The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.- Returns:
this
-
defaultMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder defaultMessage(IResolvable defaultMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getDefaultMessage()- Parameters:
defaultMessage- The default message that the campaign sends through all the channels that are configured for the campaign.- Returns:
this
-
defaultMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder defaultMessage(CfnCampaignPropsMixin.MessageProperty defaultMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getDefaultMessage()- Parameters:
defaultMessage- The default message that the campaign sends through all the channels that are configured for the campaign.- Returns:
this
-
emailMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder emailMessage(IResolvable emailMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getEmailMessage()- Parameters:
emailMessage- The message that the campaign sends through the email channel. If specified, this message overrides the default message.The maximum email message size is 200 KB. You can use email templates to send larger email messages.
- Returns:
this
-
emailMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder emailMessage(CfnCampaignPropsMixin.CampaignEmailMessageProperty emailMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getEmailMessage()- Parameters:
emailMessage- The message that the campaign sends through the email channel. If specified, this message overrides the default message.The maximum email message size is 200 KB. You can use email templates to send larger email messages.
- Returns:
this
-
gcmMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder gcmMessage(IResolvable gcmMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getGcmMessage()- Parameters:
gcmMessage- The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.- Returns:
this
-
gcmMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder gcmMessage(CfnCampaignPropsMixin.MessageProperty gcmMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getGcmMessage()- Parameters:
gcmMessage- The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.- Returns:
this
-
inAppMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder inAppMessage(IResolvable inAppMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getInAppMessage()- Parameters:
inAppMessage- The default message for the in-app messaging channel. This message overrides the default message (DefaultMessage).- Returns:
this
-
inAppMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder inAppMessage(CfnCampaignPropsMixin.CampaignInAppMessageProperty inAppMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getInAppMessage()- Parameters:
inAppMessage- The default message for the in-app messaging channel. This message overrides the default message (DefaultMessage).- Returns:
this
-
smsMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder smsMessage(IResolvable smsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getSmsMessage()- Parameters:
smsMessage- The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.- Returns:
this
-
smsMessage
@Stability(Stable) public CfnCampaignPropsMixin.MessageConfigurationProperty.Builder smsMessage(CfnCampaignPropsMixin.CampaignSmsMessageProperty smsMessage) Sets the value ofCfnCampaignPropsMixin.MessageConfigurationProperty.getSmsMessage()- Parameters:
smsMessage- The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.MessageConfigurationProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.MessageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-