Struct aws_sdk_sesv2::types::builders::SuppressionAttributesBuilder
source · #[non_exhaustive]pub struct SuppressionAttributesBuilder { /* private fields */ }Expand description
A builder for SuppressionAttributes.
Implementations§
source§impl SuppressionAttributesBuilder
impl SuppressionAttributesBuilder
sourcepub fn suppressed_reasons(self, input: SuppressionListReason) -> Self
pub fn suppressed_reasons(self, input: SuppressionListReason) -> Self
Appends an item to suppressed_reasons.
To override the contents of this collection use set_suppressed_reasons.
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
sourcepub fn set_suppressed_reasons(
self,
input: Option<Vec<SuppressionListReason>>
) -> Self
pub fn set_suppressed_reasons( self, input: Option<Vec<SuppressionListReason>> ) -> Self
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
sourcepub fn build(self) -> SuppressionAttributes
pub fn build(self) -> SuppressionAttributes
Consumes the builder and constructs a SuppressionAttributes.
Trait Implementations§
source§impl Clone for SuppressionAttributesBuilder
impl Clone for SuppressionAttributesBuilder
source§fn clone(&self) -> SuppressionAttributesBuilder
fn clone(&self) -> SuppressionAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SuppressionAttributesBuilder
impl Debug for SuppressionAttributesBuilder
source§impl Default for SuppressionAttributesBuilder
impl Default for SuppressionAttributesBuilder
source§fn default() -> SuppressionAttributesBuilder
fn default() -> SuppressionAttributesBuilder
source§impl PartialEq<SuppressionAttributesBuilder> for SuppressionAttributesBuilder
impl PartialEq<SuppressionAttributesBuilder> for SuppressionAttributesBuilder
source§fn eq(&self, other: &SuppressionAttributesBuilder) -> bool
fn eq(&self, other: &SuppressionAttributesBuilder) -> bool
self and other values to be equal, and is used
by ==.