pub struct Builder { /* private fields */ }
Expand description
A builder for SendNotificationActionDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn delivery_method(self, input: NotificationDeliveryType) -> Self
pub fn delivery_method(self, input: NotificationDeliveryType) -> Self
Notification delivery method.
sourcepub fn set_delivery_method(self, input: Option<NotificationDeliveryType>) -> Self
pub fn set_delivery_method(self, input: Option<NotificationDeliveryType>) -> Self
Notification delivery method.
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
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.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn content_type(self, input: NotificationContentType) -> Self
pub fn content_type(self, input: NotificationContentType) -> Self
Content type format.
sourcepub fn set_content_type(self, input: Option<NotificationContentType>) -> Self
pub fn set_content_type(self, input: Option<NotificationContentType>) -> Self
Content type format.
sourcepub fn recipient(self, input: NotificationRecipientType) -> Self
pub fn recipient(self, input: NotificationRecipientType) -> Self
Notification recipient.
sourcepub fn set_recipient(self, input: Option<NotificationRecipientType>) -> Self
pub fn set_recipient(self, input: Option<NotificationRecipientType>) -> Self
Notification recipient.
sourcepub fn build(self) -> SendNotificationActionDefinition
pub fn build(self) -> SendNotificationActionDefinition
Consumes the builder and constructs a SendNotificationActionDefinition
.