Struct aws_sdk_ses::model::bounced_recipient_info::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for BouncedRecipientInfo
Implementations
sourceimpl Builder
impl Builder
sourcepub fn recipient(self, input: impl Into<String>) -> Self
pub fn recipient(self, input: impl Into<String>) -> Self
The email address of the recipient of the bounced email.
sourcepub fn set_recipient(self, input: Option<String>) -> Self
pub fn set_recipient(self, input: Option<String>) -> Self
The email address of the recipient of the bounced email.
sourcepub fn recipient_arn(self, input: impl Into<String>) -> Self
pub fn recipient_arn(self, input: impl Into<String>) -> Self
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
sourcepub fn set_recipient_arn(self, input: Option<String>) -> Self
pub fn set_recipient_arn(self, input: Option<String>) -> Self
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
sourcepub fn bounce_type(self, input: BounceType) -> Self
pub fn bounce_type(self, input: BounceType) -> Self
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
sourcepub fn set_bounce_type(self, input: Option<BounceType>) -> Self
pub fn set_bounce_type(self, input: Option<BounceType>) -> Self
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
sourcepub fn recipient_dsn_fields(self, input: RecipientDsnFields) -> Self
pub fn recipient_dsn_fields(self, input: RecipientDsnFields) -> Self
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType
. You must provide either this parameter or BounceType
.
sourcepub fn set_recipient_dsn_fields(self, input: Option<RecipientDsnFields>) -> Self
pub fn set_recipient_dsn_fields(self, input: Option<RecipientDsnFields>) -> Self
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType
. You must provide either this parameter or BounceType
.
sourcepub fn build(self) -> BouncedRecipientInfo
pub fn build(self) -> BouncedRecipientInfo
Consumes the builder and constructs a BouncedRecipientInfo
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more