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
-
Method Summary
Modifier and TypeMethodDescriptionfinal ADMMessage
The default push notification message for the ADM (Amazon Device Messaging) channel.final APNSMessage
The default push notification message for the APNs (Apple Push Notification service) channel.final BaiduMessage
The default push notification message for the Baidu (Baidu Cloud Push) channel.builder()
final DefaultMessage
The default message for all channels.The default push notification message for all push notification channels.final EmailMessage
The default message for the email channel.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final 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.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends DirectMessageConfiguration.Builder> final SMSMessage
The 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 String
toString()
Returns a string representation of this object.final VoiceMessage
The 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DirectMessageConfiguration.Builder,
DirectMessageConfiguration> - 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
-