@Generated(value="software.amazon.awssdk:codegen") public final class MessageConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
Specifies the message configuration settings for a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MessageConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Message |
admMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.
|
Message |
apnsMessage()
The message that the campaign sends through the APNs (Apple Push Notification service) channel.
|
Message |
baiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.
|
static MessageConfiguration.Builder |
builder() |
CampaignCustomMessage |
customMessage()
The message that the campaign sends through a custom channel, as specified by the delivery configuration
(CustomDeliveryConfiguration) settings for the campaign.
|
Message |
defaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
|
CampaignEmailMessage |
emailMessage()
The message that the campaign sends through the email channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MessageConfiguration.Builder> |
serializableBuilderClass() |
CampaignSmsMessage |
smsMessage()
The message that the campaign sends through the SMS channel.
|
MessageConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Message admMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
public Message apnsMessage()
The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
public Message baiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
public 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.
public Message defaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
public CampaignEmailMessage emailMessage()
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
public 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.
public CampaignSmsMessage smsMessage()
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
public MessageConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>public static MessageConfiguration.Builder builder()
public static Class<? extends MessageConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.