@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() |
CampaignInAppMessage |
inAppMessage()
The in-app message configuration.
|
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, wait
copy
public final Message admMessage()
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
public final 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 final Message baiduMessage()
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
public final 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 final Message defaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
public final CampaignEmailMessage emailMessage()
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
public final 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 final CampaignSmsMessage smsMessage()
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
public final CampaignInAppMessage inAppMessage()
The in-app message configuration.
public MessageConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
public static MessageConfiguration.Builder builder()
public static Class<? extends MessageConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.