Interface PushMessageTemplateContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PushMessageTemplateContent.Builder,,PushMessageTemplateContent> SdkBuilder<PushMessageTemplateContent.Builder,,PushMessageTemplateContent> SdkPojo
- Enclosing class:
PushMessageTemplateContent
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the message template that applies to ADM (Amazon Device Messaging) notification service.The content of the message template that applies to ADM (Amazon Device Messaging) notification service.The content of the message template that applies to APNS(Apple Push Notification service) notification service.The content of the message template that applies to APNS(Apple Push Notification service) notification service.The content of the message template that applies to Baidu notification service.The content of the message template that applies to Baidu notification service.The content of the message template that applies to FCM (Firebase Cloud Messaging) notification service.The content of the message template that applies to FCM (Firebase Cloud Messaging) notification service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
adm
The content of the message template that applies to ADM (Amazon Device Messaging) notification service.
- Parameters:
adm- The content of the message template that applies to ADM (Amazon Device Messaging) notification service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adm
The content of the message template that applies to ADM (Amazon Device Messaging) notification service.
This is a convenience method that creates an instance of thePushADMMessageTemplateContent.Builderavoiding the need to create one manually viaPushADMMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadm(PushADMMessageTemplateContent).- Parameters:
adm- a consumer that will call methods onPushADMMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apns
The content of the message template that applies to APNS(Apple Push Notification service) notification service.
- Parameters:
apns- The content of the message template that applies to APNS(Apple Push Notification service) notification service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apns
default PushMessageTemplateContent.Builder apns(Consumer<PushAPNSMessageTemplateContent.Builder> apns) The content of the message template that applies to APNS(Apple Push Notification service) notification service.
This is a convenience method that creates an instance of thePushAPNSMessageTemplateContent.Builderavoiding the need to create one manually viaPushAPNSMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapns(PushAPNSMessageTemplateContent).- Parameters:
apns- a consumer that will call methods onPushAPNSMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fcm
The content of the message template that applies to FCM (Firebase Cloud Messaging) notification service.
- Parameters:
fcm- The content of the message template that applies to FCM (Firebase Cloud Messaging) notification service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcm
The content of the message template that applies to FCM (Firebase Cloud Messaging) notification service.
This is a convenience method that creates an instance of thePushFCMMessageTemplateContent.Builderavoiding the need to create one manually viaPushFCMMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofcm(PushFCMMessageTemplateContent).- Parameters:
fcm- a consumer that will call methods onPushFCMMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baidu
The content of the message template that applies to Baidu notification service.
- Parameters:
baidu- The content of the message template that applies to Baidu notification service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baidu
default PushMessageTemplateContent.Builder baidu(Consumer<PushBaiduMessageTemplateContent.Builder> baidu) The content of the message template that applies to Baidu notification service.
This is a convenience method that creates an instance of thePushBaiduMessageTemplateContent.Builderavoiding the need to create one manually viaPushBaiduMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobaidu(PushBaiduMessageTemplateContent).- Parameters:
baidu- a consumer that will call methods onPushBaiduMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-