Struct aws_sdk_ses::types::builders::SendDataPointBuilder
source · #[non_exhaustive]pub struct SendDataPointBuilder { /* private fields */ }
Expand description
A builder for SendDataPoint
.
Implementations§
source§impl SendDataPointBuilder
impl SendDataPointBuilder
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
Time of the data point.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
Time of the data point.
sourcepub fn delivery_attempts(self, input: i64) -> Self
pub fn delivery_attempts(self, input: i64) -> Self
Number of emails that have been sent.
sourcepub fn set_delivery_attempts(self, input: Option<i64>) -> Self
pub fn set_delivery_attempts(self, input: Option<i64>) -> Self
Number of emails that have been sent.
sourcepub fn get_delivery_attempts(&self) -> &Option<i64>
pub fn get_delivery_attempts(&self) -> &Option<i64>
Number of emails that have been sent.
sourcepub fn set_bounces(self, input: Option<i64>) -> Self
pub fn set_bounces(self, input: Option<i64>) -> Self
Number of emails that have bounced.
sourcepub fn get_bounces(&self) -> &Option<i64>
pub fn get_bounces(&self) -> &Option<i64>
Number of emails that have bounced.
sourcepub fn complaints(self, input: i64) -> Self
pub fn complaints(self, input: i64) -> Self
Number of unwanted emails that were rejected by recipients.
sourcepub fn set_complaints(self, input: Option<i64>) -> Self
pub fn set_complaints(self, input: Option<i64>) -> Self
Number of unwanted emails that were rejected by recipients.
sourcepub fn get_complaints(&self) -> &Option<i64>
pub fn get_complaints(&self) -> &Option<i64>
Number of unwanted emails that were rejected by recipients.
sourcepub fn set_rejects(self, input: Option<i64>) -> Self
pub fn set_rejects(self, input: Option<i64>) -> Self
Number of emails rejected by Amazon SES.
sourcepub fn get_rejects(&self) -> &Option<i64>
pub fn get_rejects(&self) -> &Option<i64>
Number of emails rejected by Amazon SES.
sourcepub fn build(self) -> SendDataPoint
pub fn build(self) -> SendDataPoint
Consumes the builder and constructs a SendDataPoint
.
Trait Implementations§
source§impl Clone for SendDataPointBuilder
impl Clone for SendDataPointBuilder
source§fn clone(&self) -> SendDataPointBuilder
fn clone(&self) -> SendDataPointBuilder
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 SendDataPointBuilder
impl Debug for SendDataPointBuilder
source§impl Default for SendDataPointBuilder
impl Default for SendDataPointBuilder
source§fn default() -> SendDataPointBuilder
fn default() -> SendDataPointBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SendDataPointBuilder
impl PartialEq for SendDataPointBuilder
source§fn eq(&self, other: &SendDataPointBuilder) -> bool
fn eq(&self, other: &SendDataPointBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendDataPointBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SendDataPointBuilder
impl Send for SendDataPointBuilder
impl Sync for SendDataPointBuilder
impl Unpin for SendDataPointBuilder
impl UnwindSafe for SendDataPointBuilder
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.