Struct aws_sdk_sesv2::types::builders::BounceBuilder
source · #[non_exhaustive]pub struct BounceBuilder { /* private fields */ }Expand description
A builder for Bounce.
Implementations§
source§impl BounceBuilder
impl BounceBuilder
sourcepub fn bounce_type(self, input: BounceType) -> Self
pub fn bounce_type(self, input: BounceType) -> Self
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
sourcepub fn set_bounce_type(self, input: Option<BounceType>) -> Self
pub fn set_bounce_type(self, input: Option<BounceType>) -> Self
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
sourcepub fn get_bounce_type(&self) -> &Option<BounceType>
pub fn get_bounce_type(&self) -> &Option<BounceType>
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
sourcepub fn bounce_sub_type(self, input: impl Into<String>) -> Self
pub fn bounce_sub_type(self, input: impl Into<String>) -> Self
The subtype of the bounce, as determined by SES.
sourcepub fn set_bounce_sub_type(self, input: Option<String>) -> Self
pub fn set_bounce_sub_type(self, input: Option<String>) -> Self
The subtype of the bounce, as determined by SES.
sourcepub fn get_bounce_sub_type(&self) -> &Option<String>
pub fn get_bounce_sub_type(&self) -> &Option<String>
The subtype of the bounce, as determined by SES.
sourcepub fn diagnostic_code(self, input: impl Into<String>) -> Self
pub fn diagnostic_code(self, input: impl Into<String>) -> Self
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
sourcepub fn set_diagnostic_code(self, input: Option<String>) -> Self
pub fn set_diagnostic_code(self, input: Option<String>) -> Self
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
sourcepub fn get_diagnostic_code(&self) -> &Option<String>
pub fn get_diagnostic_code(&self) -> &Option<String>
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
Trait Implementations§
source§impl Clone for BounceBuilder
impl Clone for BounceBuilder
source§fn clone(&self) -> BounceBuilder
fn clone(&self) -> BounceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BounceBuilder
impl Debug for BounceBuilder
source§impl Default for BounceBuilder
impl Default for BounceBuilder
source§fn default() -> BounceBuilder
fn default() -> BounceBuilder
source§impl PartialEq for BounceBuilder
impl PartialEq for BounceBuilder
source§fn eq(&self, other: &BounceBuilder) -> bool
fn eq(&self, other: &BounceBuilder) -> bool
self and other values to be equal, and is used
by ==.