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
-
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, sdkFields
-
-
-
-
Method Detail
-
deliveryMethod
SendNotificationActionDefinition.Builder deliveryMethod(String 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:
NotificationDeliveryType,NotificationDeliveryType
-
deliveryMethod
SendNotificationActionDefinition.Builder deliveryMethod(NotificationDeliveryType 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:
NotificationDeliveryType,NotificationDeliveryType
-
subject
SendNotificationActionDefinition.Builder subject(String 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
SendNotificationActionDefinition.Builder content(String 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
SendNotificationActionDefinition.Builder contentType(String 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:
NotificationContentType,NotificationContentType
-
contentType
SendNotificationActionDefinition.Builder contentType(NotificationContentType 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:
NotificationContentType,NotificationContentType
-
recipient
SendNotificationActionDefinition.Builder recipient(NotificationRecipientType 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:
recipient(NotificationRecipientType)
-
-