Struct aws_sdk_sesv2::types::builders::EmailInsightsBuilder
source · #[non_exhaustive]pub struct EmailInsightsBuilder { /* private fields */ }Expand description
A builder for EmailInsights.
Implementations§
source§impl EmailInsightsBuilder
impl EmailInsightsBuilder
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The recipient of the email.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The recipient of the email.
sourcepub fn get_destination(&self) -> &Option<String>
pub fn get_destination(&self) -> &Option<String>
The recipient of the email.
sourcepub fn isp(self, input: impl Into<String>) -> Self
pub fn isp(self, input: impl Into<String>) -> Self
The recipient's ISP (e.g., Gmail, Yahoo, etc.).
sourcepub fn set_isp(self, input: Option<String>) -> Self
pub fn set_isp(self, input: Option<String>) -> Self
The recipient's ISP (e.g., Gmail, Yahoo, etc.).
sourcepub fn events(self, input: InsightsEvent) -> Self
pub fn events(self, input: InsightsEvent) -> Self
Appends an item to events.
To override the contents of this collection use set_events.
A list of events associated with the sent email.
sourcepub fn set_events(self, input: Option<Vec<InsightsEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<InsightsEvent>>) -> Self
A list of events associated with the sent email.
sourcepub fn get_events(&self) -> &Option<Vec<InsightsEvent>>
pub fn get_events(&self) -> &Option<Vec<InsightsEvent>>
A list of events associated with the sent email.
sourcepub fn build(self) -> EmailInsights
pub fn build(self) -> EmailInsights
Consumes the builder and constructs a EmailInsights.
Trait Implementations§
source§impl Clone for EmailInsightsBuilder
impl Clone for EmailInsightsBuilder
source§fn clone(&self) -> EmailInsightsBuilder
fn clone(&self) -> EmailInsightsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EmailInsightsBuilder
impl Debug for EmailInsightsBuilder
source§impl Default for EmailInsightsBuilder
impl Default for EmailInsightsBuilder
source§fn default() -> EmailInsightsBuilder
fn default() -> EmailInsightsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EmailInsightsBuilder
impl PartialEq for EmailInsightsBuilder
source§fn eq(&self, other: &EmailInsightsBuilder) -> bool
fn eq(&self, other: &EmailInsightsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EmailInsightsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EmailInsightsBuilder
impl Send for EmailInsightsBuilder
impl Sync for EmailInsightsBuilder
impl Unpin for EmailInsightsBuilder
impl UnwindSafe for EmailInsightsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.