Interface SendInAppNotificationActionDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SendInAppNotificationActionDefinition.Builder,,SendInAppNotificationActionDefinition> SdkBuilder<SendInAppNotificationActionDefinition.Builder,,SendInAppNotificationActionDefinition> SdkPojo
- Enclosing class:
SendInAppNotificationActionDefinition
-
Method Summary
Modifier and TypeMethodDescriptioncontent(Map<LocaleCode, String> content) Notification content.contentWithStrings(Map<String, String> content) Notification content.exclusion(Consumer<NotificationRecipientType.Builder> exclusion) Recipients to exclude from notification.exclusion(NotificationRecipientType exclusion) Recipients to exclude from notification.Notification priority.priority(ConfigurableNotificationPriority priority) Notification priority.recipient(Consumer<NotificationRecipientType.Builder> recipient) Notification recipient.recipient(NotificationRecipientType recipient) Notification recipient.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
-
contentWithStrings
Notification content. Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide.
- Parameters:
content- Notification content. Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Notification content. Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide.
- Parameters:
content- Notification content. Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipient
Notification recipient.
- Parameters:
recipient- Notification recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipient
default SendInAppNotificationActionDefinition.Builder recipient(Consumer<NotificationRecipientType.Builder> recipient) Notification recipient.
This is a convenience method that creates an instance of theNotificationRecipientType.Builderavoiding the need to create one manually viaNotificationRecipientType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecipient(NotificationRecipientType).- Parameters:
recipient- a consumer that will call methods onNotificationRecipientType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclusion
Recipients to exclude from notification.
- Parameters:
exclusion- Recipients to exclude from notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusion
default SendInAppNotificationActionDefinition.Builder exclusion(Consumer<NotificationRecipientType.Builder> exclusion) Recipients to exclude from notification.
This is a convenience method that creates an instance of theNotificationRecipientType.Builderavoiding the need to create one manually viaNotificationRecipientType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexclusion(NotificationRecipientType).- Parameters:
exclusion- a consumer that will call methods onNotificationRecipientType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
Notification priority.
- Parameters:
priority- Notification priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
Notification priority.
- Parameters:
priority- Notification priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-