public static interface MessageConfiguration.Builder extends SdkPojo, CopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default MessageConfiguration.Builder |
admMessage(Consumer<Message.Builder> admMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
MessageConfiguration.Builder |
admMessage(Message admMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
default MessageConfiguration.Builder |
apnsMessage(Consumer<Message.Builder> apnsMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
MessageConfiguration.Builder |
apnsMessage(Message apnsMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
default MessageConfiguration.Builder |
baiduMessage(Consumer<Message.Builder> baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
MessageConfiguration.Builder |
baiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
MessageConfiguration.Builder |
customMessage(CampaignCustomMessage customMessage)
The message that the campaign sends through a custom channel, as specified by the delivery configuration
(CustomDeliveryConfiguration) settings for the campaign.
|
default MessageConfiguration.Builder |
customMessage(Consumer<CampaignCustomMessage.Builder> customMessage)
The message that the campaign sends through a custom channel, as specified by the delivery configuration
(CustomDeliveryConfiguration) settings for the campaign.
|
default MessageConfiguration.Builder |
defaultMessage(Consumer<Message.Builder> defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
MessageConfiguration.Builder |
defaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
|
MessageConfiguration.Builder |
emailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel.
|
default MessageConfiguration.Builder |
emailMessage(Consumer<CampaignEmailMessage.Builder> emailMessage)
The message that the campaign sends through the email channel.
|
default MessageConfiguration.Builder |
gcmMessage(Consumer<Message.Builder> 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.
|
MessageConfiguration.Builder |
gcmMessage(Message 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.
|
MessageConfiguration.Builder |
inAppMessage(CampaignInAppMessage inAppMessage)
The in-app message configuration.
|
default MessageConfiguration.Builder |
inAppMessage(Consumer<CampaignInAppMessage.Builder> inAppMessage)
The in-app message configuration.
|
MessageConfiguration.Builder |
smsMessage(CampaignSmsMessage smsMessage)
The message that the campaign sends through the SMS channel.
|
default MessageConfiguration.Builder |
smsMessage(Consumer<CampaignSmsMessage.Builder> smsMessage)
The message that the campaign sends through the SMS channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessageConfiguration.Builder admMessage(Message admMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
admMessage - The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified,
this message overrides the default message.default MessageConfiguration.Builder admMessage(Consumer<Message.Builder> admMessage)
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to admMessage(Message).admMessage - a consumer that will call methods on Message.BuilderadmMessage(Message)MessageConfiguration.Builder apnsMessage(Message apnsMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
apnsMessage - The message that the campaign sends through the APNs (Apple Push Notification service) channel. If
specified, this message overrides the default message.default MessageConfiguration.Builder apnsMessage(Consumer<Message.Builder> apnsMessage)
The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to apnsMessage(Message).apnsMessage - a consumer that will call methods on Message.BuilderapnsMessage(Message)MessageConfiguration.Builder baiduMessage(Message baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
baiduMessage - The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this
message overrides the default message.default MessageConfiguration.Builder baiduMessage(Consumer<Message.Builder> baiduMessage)
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to baiduMessage(Message).baiduMessage - a consumer that will call methods on Message.BuilderbaiduMessage(Message)MessageConfiguration.Builder customMessage(CampaignCustomMessage 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.
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.default MessageConfiguration.Builder customMessage(Consumer<CampaignCustomMessage.Builder> 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.
This is a convenience method that creates an instance of theCampaignCustomMessage.Builder avoiding
the need to create one manually via CampaignCustomMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to customMessage(CampaignCustomMessage).customMessage - a consumer that will call methods on CampaignCustomMessage.BuildercustomMessage(CampaignCustomMessage)MessageConfiguration.Builder defaultMessage(Message defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
defaultMessage - The default message that the campaign sends through all the channels that are configured for the
campaign.default MessageConfiguration.Builder defaultMessage(Consumer<Message.Builder> defaultMessage)
The default message that the campaign sends through all the channels that are configured for the campaign.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to defaultMessage(Message).defaultMessage - a consumer that will call methods on Message.BuilderdefaultMessage(Message)MessageConfiguration.Builder emailMessage(CampaignEmailMessage emailMessage)
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
emailMessage - The message that the campaign sends through the email channel. If specified, this message overrides
the default message.default MessageConfiguration.Builder emailMessage(Consumer<CampaignEmailMessage.Builder> emailMessage)
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
This is a convenience method that creates an instance of theCampaignEmailMessage.Builder avoiding
the need to create one manually via CampaignEmailMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to emailMessage(CampaignEmailMessage).emailMessage - a consumer that will call methods on CampaignEmailMessage.BuilderemailMessage(CampaignEmailMessage)MessageConfiguration.Builder gcmMessage(Message 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.
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.default MessageConfiguration.Builder gcmMessage(Consumer<Message.Builder> 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.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to gcmMessage(Message).gcmMessage - a consumer that will call methods on Message.BuildergcmMessage(Message)MessageConfiguration.Builder smsMessage(CampaignSmsMessage smsMessage)
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
smsMessage - The message that the campaign sends through the SMS channel. If specified, this message overrides the
default message.default MessageConfiguration.Builder smsMessage(Consumer<CampaignSmsMessage.Builder> smsMessage)
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
This is a convenience method that creates an instance of theCampaignSmsMessage.Builder avoiding the
need to create one manually via CampaignSmsMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to smsMessage(CampaignSmsMessage).smsMessage - a consumer that will call methods on CampaignSmsMessage.BuildersmsMessage(CampaignSmsMessage)MessageConfiguration.Builder inAppMessage(CampaignInAppMessage inAppMessage)
The in-app message configuration.
inAppMessage - The in-app message configuration.default MessageConfiguration.Builder inAppMessage(Consumer<CampaignInAppMessage.Builder> inAppMessage)
The in-app message configuration.
This is a convenience method that creates an instance of theCampaignInAppMessage.Builder avoiding
the need to create one manually via CampaignInAppMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to inAppMessage(CampaignInAppMessage).inAppMessage - a consumer that will call methods on CampaignInAppMessage.BuilderinAppMessage(CampaignInAppMessage)Copyright © 2022. All rights reserved.