#[non_exhaustive]pub struct IdentityNotificationAttributesBuilder { /* private fields */ }
Expand description
A builder for IdentityNotificationAttributes
.
Implementations§
source§impl IdentityNotificationAttributesBuilder
impl IdentityNotificationAttributesBuilder
sourcepub fn bounce_topic(self, input: impl Into<String>) -> Self
pub fn bounce_topic(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes bounce notifications.
This field is required.sourcepub fn set_bounce_topic(self, input: Option<String>) -> Self
pub fn set_bounce_topic(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes bounce notifications.
sourcepub fn get_bounce_topic(&self) -> &Option<String>
pub fn get_bounce_topic(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes bounce notifications.
sourcepub fn complaint_topic(self, input: impl Into<String>) -> Self
pub fn complaint_topic(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes complaint notifications.
This field is required.sourcepub fn set_complaint_topic(self, input: Option<String>) -> Self
pub fn set_complaint_topic(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes complaint notifications.
sourcepub fn get_complaint_topic(&self) -> &Option<String>
pub fn get_complaint_topic(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes complaint notifications.
sourcepub fn delivery_topic(self, input: impl Into<String>) -> Self
pub fn delivery_topic(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes delivery notifications.
This field is required.sourcepub fn set_delivery_topic(self, input: Option<String>) -> Self
pub fn set_delivery_topic(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes delivery notifications.
sourcepub fn get_delivery_topic(&self) -> &Option<String>
pub fn get_delivery_topic(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES publishes delivery notifications.
sourcepub fn forwarding_enabled(self, input: bool) -> Self
pub fn forwarding_enabled(self, input: bool) -> Self
Describes whether Amazon SES forwards bounce and complaint notifications as email. true
indicates that Amazon SES forwards bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications are published only to the specified bounce and complaint Amazon SNS topics.
sourcepub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
pub fn set_forwarding_enabled(self, input: Option<bool>) -> Self
Describes whether Amazon SES forwards bounce and complaint notifications as email. true
indicates that Amazon SES forwards bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications are published only to the specified bounce and complaint Amazon SNS topics.
sourcepub fn get_forwarding_enabled(&self) -> &Option<bool>
pub fn get_forwarding_enabled(&self) -> &Option<bool>
Describes whether Amazon SES forwards bounce and complaint notifications as email. true
indicates that Amazon SES forwards bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications are published only to the specified bounce and complaint Amazon SNS topics.
sourcepub fn headers_in_bounce_notifications_enabled(self, input: bool) -> Self
pub fn headers_in_bounce_notifications_enabled(self, input: bool) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES includes headers in bounce notifications, and a value of false
specifies that Amazon SES does not include headers in bounce notifications.
sourcepub fn set_headers_in_bounce_notifications_enabled(
self,
input: Option<bool>
) -> Self
pub fn set_headers_in_bounce_notifications_enabled( self, input: Option<bool> ) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES includes headers in bounce notifications, and a value of false
specifies that Amazon SES does not include headers in bounce notifications.
sourcepub fn get_headers_in_bounce_notifications_enabled(&self) -> &Option<bool>
pub fn get_headers_in_bounce_notifications_enabled(&self) -> &Option<bool>
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES includes headers in bounce notifications, and a value of false
specifies that Amazon SES does not include headers in bounce notifications.
sourcepub fn headers_in_complaint_notifications_enabled(self, input: bool) -> Self
pub fn headers_in_complaint_notifications_enabled(self, input: bool) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES includes headers in complaint notifications, and a value of false
specifies that Amazon SES does not include headers in complaint notifications.
sourcepub fn set_headers_in_complaint_notifications_enabled(
self,
input: Option<bool>
) -> Self
pub fn set_headers_in_complaint_notifications_enabled( self, input: Option<bool> ) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES includes headers in complaint notifications, and a value of false
specifies that Amazon SES does not include headers in complaint notifications.
sourcepub fn get_headers_in_complaint_notifications_enabled(&self) -> &Option<bool>
pub fn get_headers_in_complaint_notifications_enabled(&self) -> &Option<bool>
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES includes headers in complaint notifications, and a value of false
specifies that Amazon SES does not include headers in complaint notifications.
sourcepub fn headers_in_delivery_notifications_enabled(self, input: bool) -> Self
pub fn headers_in_delivery_notifications_enabled(self, input: bool) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery
. A value of true
specifies that Amazon SES includes headers in delivery notifications, and a value of false
specifies that Amazon SES does not include headers in delivery notifications.
sourcepub fn set_headers_in_delivery_notifications_enabled(
self,
input: Option<bool>
) -> Self
pub fn set_headers_in_delivery_notifications_enabled( self, input: Option<bool> ) -> Self
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery
. A value of true
specifies that Amazon SES includes headers in delivery notifications, and a value of false
specifies that Amazon SES does not include headers in delivery notifications.
sourcepub fn get_headers_in_delivery_notifications_enabled(&self) -> &Option<bool>
pub fn get_headers_in_delivery_notifications_enabled(&self) -> &Option<bool>
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Delivery
. A value of true
specifies that Amazon SES includes headers in delivery notifications, and a value of false
specifies that Amazon SES does not include headers in delivery notifications.
sourcepub fn build(self) -> Result<IdentityNotificationAttributes, BuildError>
pub fn build(self) -> Result<IdentityNotificationAttributes, BuildError>
Consumes the builder and constructs a IdentityNotificationAttributes
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IdentityNotificationAttributesBuilder
impl Clone for IdentityNotificationAttributesBuilder
source§fn clone(&self) -> IdentityNotificationAttributesBuilder
fn clone(&self) -> IdentityNotificationAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for IdentityNotificationAttributesBuilder
impl Default for IdentityNotificationAttributesBuilder
source§fn default() -> IdentityNotificationAttributesBuilder
fn default() -> IdentityNotificationAttributesBuilder
source§impl PartialEq for IdentityNotificationAttributesBuilder
impl PartialEq for IdentityNotificationAttributesBuilder
source§fn eq(&self, other: &IdentityNotificationAttributesBuilder) -> bool
fn eq(&self, other: &IdentityNotificationAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.