@Generated(value="software.amazon.awssdk:codegen") public final class DirectMessageConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectMessageConfiguration.Builder,DirectMessageConfiguration>
Specifies the settings and content for the default message and any default messages that you tailored for specific channels.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DirectMessageConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
ADMMessage |
admMessage()
The default push notification message for the ADM (Amazon Device Messaging) channel.
|
APNSMessage |
apnsMessage()
The default push notification message for the APNs (Apple Push Notification service) channel.
|
BaiduMessage |
baiduMessage()
The default push notification message for the Baidu (Baidu Cloud Push) channel.
|
static DirectMessageConfiguration.Builder |
builder() |
DefaultMessage |
defaultMessage()
The default message for all channels.
|
DefaultPushNotificationMessage |
defaultPushNotificationMessage()
The default push notification message for all push notification channels.
|
EmailMessage |
emailMessage()
The default message for the email channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
GCMMessage |
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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectMessageConfiguration.Builder> |
serializableBuilderClass() |
SMSMessage |
smsMessage()
The default message for the SMS channel.
|
DirectMessageConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoiceMessage |
voiceMessage()
The default message for the voice channel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ADMMessage admMessage()
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
public final APNSMessage apnsMessage()
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
public final BaiduMessage baiduMessage()
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
public final DefaultMessage defaultMessage()
The default message for all channels.
public final DefaultPushNotificationMessage defaultPushNotificationMessage()
The default push notification message for all push notification channels.
public final EmailMessage emailMessage()
The default message for the email channel. This message overrides the default message (DefaultMessage).
public final GCMMessage 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).
public final SMSMessage smsMessage()
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
public final VoiceMessage voiceMessage()
The default message for the voice channel. This message overrides the default message (DefaultMessage).
public DirectMessageConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DirectMessageConfiguration.Builder,DirectMessageConfiguration>public static DirectMessageConfiguration.Builder builder()
public static Class<? extends DirectMessageConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.