Class MessageConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MessageConfiguration.Builder,
MessageConfiguration>
Specifies the message configuration settings for a campaign.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Message
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.final Message
The message that the campaign sends through the APNs (Apple Push Notification service) channel.final Message
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.static MessageConfiguration.Builder
builder()
final CampaignCustomMessage
The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign.final Message
The default message that the campaign sends through all the channels that are configured for the campaign.final CampaignEmailMessage
The message that the campaign sends through the email channel.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Message
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.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final CampaignInAppMessage
The in-app message configuration.static Class
<? extends MessageConfiguration.Builder> final CampaignSmsMessage
The message that the campaign sends through the SMS channel.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<MessageConfiguration.Builder,
MessageConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-