Class MessageConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.MessageConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMessageConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageadmMessage()The message that the campaign sends through the ADM (Amazon Device Messaging) channel.MessageapnsMessage()The message that the campaign sends through the APNs (Apple Push Notification service) channel.MessagebaiduMessage()The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.static MessageConfiguration.Builderbuilder()CampaignCustomMessagecustomMessage()The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign.MessagedefaultMessage()The default message that the campaign sends through all the channels that are configured for the campaign.CampaignEmailMessageemailMessage()The message that the campaign sends through the email channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)MessagegcmMessage()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)inthashCode()CampaignInAppMessageinAppMessage()The in-app message configuration.List<SdkField<?>>sdkFields()static Class<? extends MessageConfiguration.Builder>serializableBuilderClass()CampaignSmsMessagesmsMessage()The message that the campaign sends through the SMS channel.MessageConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
admMessage
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.
- Returns:
- The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
-
apnsMessage
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.
- Returns:
- The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
-
baiduMessage
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.
- Returns:
- The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
-
customMessage
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.
- Returns:
- 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.
-
defaultMessage
public final Message defaultMessage()
The default message that the campaign sends through all the channels that are configured for the campaign.
- Returns:
- The default message that the campaign sends through all the channels that are configured for the campaign.
-
emailMessage
public final CampaignEmailMessage emailMessage()
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
- Returns:
- The message that the campaign sends through the email channel. If specified, this message overrides the default message.
-
gcmMessage
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.
- Returns:
- 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.
-
smsMessage
public final CampaignSmsMessage smsMessage()
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
- Returns:
- The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
-
inAppMessage
public final CampaignInAppMessage inAppMessage()
The in-app message configuration.
- Returns:
- The in-app message configuration.
-
toBuilder
public MessageConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
-
builder
public static MessageConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends MessageConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-