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