Class DirectMessageConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DirectMessageConfiguration.Builder,DirectMessageConfiguration>
Specifies the settings and content for the default message and any default messages that you tailored for specific channels.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ADMMessageThe default push notification message for the ADM (Amazon Device Messaging) channel.final APNSMessageThe default push notification message for the APNs (Apple Push Notification service) channel.final BaiduMessageThe default push notification message for the Baidu (Baidu Cloud Push) channel.builder()final DefaultMessageThe default message for all channels.The default push notification message for all push notification channels.final EmailMessageThe default message for the email channel.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final GCMMessageThe default push notification message for the GCM channel, which is used to send 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()static Class<? extends DirectMessageConfiguration.Builder> final SMSMessageThe default message for 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.final VoiceMessageThe default message for the voice channel.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
admMessage
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Returns:
- The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
-
apnsMessage
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Returns:
- The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
-
baiduMessage
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Returns:
- The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
-
defaultMessage
The default message for all channels.
- Returns:
- The default message for all channels.
-
defaultPushNotificationMessage
The default push notification message for all push notification channels.
- Returns:
- The default push notification message for all push notification channels.
-
emailMessage
The default message for the email channel. This message overrides the default message (DefaultMessage).
- Returns:
- The default message for the email channel. This message overrides the default message (DefaultMessage).
-
gcmMessage
The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Returns:
- The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
-
smsMessage
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
- Returns:
- The default message for the SMS channel. This message overrides the default message (DefaultMessage).
-
voiceMessage
The default message for the voice channel. This message overrides the default message (DefaultMessage).
- Returns:
- The default message for the voice channel. This message overrides the default message (DefaultMessage).
-
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<DirectMessageConfiguration.Builder,DirectMessageConfiguration> - 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
-