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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MessageConfiguration.Builder,MessageConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-