#[non_exhaustive]pub struct SendNotificationActionDefinitionBuilder { /* private fields */ }
Expand description
A builder for SendNotificationActionDefinition
.
Implementations§
source§impl SendNotificationActionDefinitionBuilder
impl SendNotificationActionDefinitionBuilder
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
.
Trait Implementations§
source§impl Clone for SendNotificationActionDefinitionBuilder
impl Clone for SendNotificationActionDefinitionBuilder
source§fn clone(&self) -> SendNotificationActionDefinitionBuilder
fn clone(&self) -> SendNotificationActionDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SendNotificationActionDefinitionBuilder
impl Default for SendNotificationActionDefinitionBuilder
source§fn default() -> SendNotificationActionDefinitionBuilder
fn default() -> SendNotificationActionDefinitionBuilder
source§impl PartialEq<SendNotificationActionDefinitionBuilder> for SendNotificationActionDefinitionBuilder
impl PartialEq<SendNotificationActionDefinitionBuilder> for SendNotificationActionDefinitionBuilder
source§fn eq(&self, other: &SendNotificationActionDefinitionBuilder) -> bool
fn eq(&self, other: &SendNotificationActionDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.