Interface DirectMessageConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectMessageConfiguration.Builder,
,DirectMessageConfiguration> SdkBuilder<DirectMessageConfiguration.Builder,
,DirectMessageConfiguration> SdkPojo
- Enclosing class:
DirectMessageConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadmMessage
(Consumer<ADMMessage.Builder> admMessage) The default push notification message for the ADM (Amazon Device Messaging) channel.admMessage
(ADMMessage admMessage) The default push notification message for the ADM (Amazon Device Messaging) channel.apnsMessage
(Consumer<APNSMessage.Builder> apnsMessage) The default push notification message for the APNs (Apple Push Notification service) channel.apnsMessage
(APNSMessage apnsMessage) The default push notification message for the APNs (Apple Push Notification service) channel.baiduMessage
(Consumer<BaiduMessage.Builder> baiduMessage) The default push notification message for the Baidu (Baidu Cloud Push) channel.baiduMessage
(BaiduMessage baiduMessage) The default push notification message for the Baidu (Baidu Cloud Push) channel.defaultMessage
(Consumer<DefaultMessage.Builder> defaultMessage) The default message for all channels.defaultMessage
(DefaultMessage defaultMessage) The default message for all channels.defaultPushNotificationMessage
(Consumer<DefaultPushNotificationMessage.Builder> defaultPushNotificationMessage) The default push notification message for all push notification channels.defaultPushNotificationMessage
(DefaultPushNotificationMessage defaultPushNotificationMessage) The default push notification message for all push notification channels.emailMessage
(Consumer<EmailMessage.Builder> emailMessage) The default message for the email channel.emailMessage
(EmailMessage emailMessage) The default message for the email channel.gcmMessage
(Consumer<GCMMessage.Builder> 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.gcmMessage
(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.smsMessage
(Consumer<SMSMessage.Builder> smsMessage) The default message for the SMS channel.smsMessage
(SMSMessage smsMessage) The default message for the SMS channel.voiceMessage
(Consumer<VoiceMessage.Builder> voiceMessage) The default message for the voice channel.voiceMessage
(VoiceMessage voiceMessage) The default message for the voice channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
admMessage
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Parameters:
admMessage
- The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
admMessage
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
This is a convenience method that creates an instance of theADMMessage.Builder
avoiding the need to create one manually viaADMMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadmMessage(ADMMessage)
.- Parameters:
admMessage
- a consumer that will call methods onADMMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apnsMessage
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Parameters:
apnsMessage
- The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apnsMessage
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
This is a convenience method that creates an instance of theAPNSMessage.Builder
avoiding the need to create one manually viaAPNSMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapnsMessage(APNSMessage)
.- Parameters:
apnsMessage
- a consumer that will call methods onAPNSMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baiduMessage
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
- Parameters:
baiduMessage
- The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baiduMessage
default DirectMessageConfiguration.Builder baiduMessage(Consumer<BaiduMessage.Builder> baiduMessage) The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
This is a convenience method that creates an instance of theBaiduMessage.Builder
avoiding the need to create one manually viaBaiduMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaiduMessage(BaiduMessage)
.- Parameters:
baiduMessage
- a consumer that will call methods onBaiduMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultMessage
The default message for all channels.
- Parameters:
defaultMessage
- The default message for all channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultMessage
default DirectMessageConfiguration.Builder defaultMessage(Consumer<DefaultMessage.Builder> defaultMessage) The default message for all channels.
This is a convenience method that creates an instance of theDefaultMessage.Builder
avoiding the need to create one manually viaDefaultMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultMessage(DefaultMessage)
.- Parameters:
defaultMessage
- a consumer that will call methods onDefaultMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultPushNotificationMessage
DirectMessageConfiguration.Builder defaultPushNotificationMessage(DefaultPushNotificationMessage defaultPushNotificationMessage) The default push notification message for all push notification channels.
- Parameters:
defaultPushNotificationMessage
- The default push notification message for all push notification channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultPushNotificationMessage
default DirectMessageConfiguration.Builder defaultPushNotificationMessage(Consumer<DefaultPushNotificationMessage.Builder> defaultPushNotificationMessage) The default push notification message for all push notification channels.
This is a convenience method that creates an instance of theDefaultPushNotificationMessage.Builder
avoiding the need to create one manually viaDefaultPushNotificationMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultPushNotificationMessage(DefaultPushNotificationMessage)
.- Parameters:
defaultPushNotificationMessage
- a consumer that will call methods onDefaultPushNotificationMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
emailMessage
The default message for the email channel. This message overrides the default message (DefaultMessage).
- Parameters:
emailMessage
- The default message for the email channel. This message overrides the default message (DefaultMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailMessage
default DirectMessageConfiguration.Builder emailMessage(Consumer<EmailMessage.Builder> emailMessage) The default message for the email channel. This message overrides the default message (DefaultMessage).
This is a convenience method that creates an instance of theEmailMessage.Builder
avoiding the need to create one manually viaEmailMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemailMessage(EmailMessage)
.- Parameters:
emailMessage
- a consumer that will call methods onEmailMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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).
This is a convenience method that creates an instance of theGCMMessage.Builder
avoiding the need to create one manually viaGCMMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togcmMessage(GCMMessage)
.- Parameters:
gcmMessage
- a consumer that will call methods onGCMMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
smsMessage
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
- Parameters:
smsMessage
- The default message for the SMS channel. This message overrides the default message (DefaultMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsMessage
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
This is a convenience method that creates an instance of theSMSMessage.Builder
avoiding the need to create one manually viaSMSMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmsMessage(SMSMessage)
.- Parameters:
smsMessage
- a consumer that will call methods onSMSMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voiceMessage
The default message for the voice channel. This message overrides the default message (DefaultMessage).
- Parameters:
voiceMessage
- The default message for the voice channel. This message overrides the default message (DefaultMessage).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceMessage
default DirectMessageConfiguration.Builder voiceMessage(Consumer<VoiceMessage.Builder> voiceMessage) The default message for the voice channel. This message overrides the default message (DefaultMessage).
This is a convenience method that creates an instance of theVoiceMessage.Builder
avoiding the need to create one manually viaVoiceMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovoiceMessage(VoiceMessage)
.- Parameters:
voiceMessage
- a consumer that will call methods onVoiceMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-