Interface SendNotificationActionDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SendNotificationActionDefinition.Builder,,SendNotificationActionDefinition> SdkBuilder<SendNotificationActionDefinition.Builder,,SendNotificationActionDefinition> SdkPojo
- Enclosing class:
SendNotificationActionDefinition
public static interface SendNotificationActionDefinition.Builder
extends SdkPojo, CopyableBuilder<SendNotificationActionDefinition.Builder,SendNotificationActionDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionNotification content.contentType(String contentType) Content type format.contentType(NotificationContentType contentType) Content type format.deliveryMethod(String deliveryMethod) Notification delivery method.deliveryMethod(NotificationDeliveryType deliveryMethod) Notification delivery method.recipient(Consumer<NotificationRecipientType.Builder> recipient) Notification recipient.recipient(NotificationRecipientType recipient) Notification recipient.The subject of the email if the delivery method isEMAIL.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, sdkFields
-
Method Details
-
deliveryMethod
Notification delivery method.
- Parameters:
deliveryMethod- Notification delivery method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryMethod
Notification delivery method.
- Parameters:
deliveryMethod- Notification delivery method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subject
The subject of the email if the delivery method is
EMAIL. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.- Parameters:
subject- The subject of the email if the delivery method isEMAIL. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect 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 Amazon Connect Administrators Guide.
- Parameters:
content- Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
Content type format.
- Parameters:
contentType- Content type format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
Content type format.
- Parameters:
contentType- Content type format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recipient
Notification recipient.
- Parameters:
recipient- Notification recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipient
default SendNotificationActionDefinition.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:
-