Class MessageConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
Specifies the message configuration settings for a campaign.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal MessageThe message that the campaign sends through the ADM (Amazon Device Messaging) channel.final MessageThe message that the campaign sends through the APNs (Apple Push Notification service) channel.final MessageThe message that the campaign sends through the Baidu (Baidu Cloud Push) channel.static MessageConfiguration.Builderbuilder()final CampaignCustomMessageThe message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign.final MessageThe default message that the campaign sends through all the channels that are configured for the campaign.final CampaignEmailMessageThe message that the campaign sends through the email channel.final booleanfinal booleanequalsBySdkFields(Object obj) final MessageThe 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.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final CampaignInAppMessageThe in-app message configuration.static Class<? extends MessageConfiguration.Builder>final CampaignSmsMessageThe message that the campaign sends through the SMS channel.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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
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
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
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
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
The in-app message configuration.
- Returns:
- The in-app message configuration.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-