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) 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.final StringtoString()Returns a string representation of this object.final VoiceMessageThe default message for the voice channel.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 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<DirectMessageConfiguration.Builder,DirectMessageConfiguration>
-
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
-