Struct aws_sdk_iotevents::types::builders::EmailRecipientsBuilder
source · #[non_exhaustive]pub struct EmailRecipientsBuilder { /* private fields */ }
Expand description
A builder for EmailRecipients
.
Implementations§
source§impl EmailRecipientsBuilder
impl EmailRecipientsBuilder
sourcepub fn to(self, input: RecipientDetail) -> Self
pub fn to(self, input: RecipientDetail) -> Self
Appends an item to to
.
To override the contents of this collection use set_to
.
Specifies one or more recipients who receive the email.
sourcepub fn set_to(self, input: Option<Vec<RecipientDetail>>) -> Self
pub fn set_to(self, input: Option<Vec<RecipientDetail>>) -> Self
Specifies one or more recipients who receive the email.
sourcepub fn get_to(&self) -> &Option<Vec<RecipientDetail>>
pub fn get_to(&self) -> &Option<Vec<RecipientDetail>>
Specifies one or more recipients who receive the email.
sourcepub fn build(self) -> EmailRecipients
pub fn build(self) -> EmailRecipients
Consumes the builder and constructs a EmailRecipients
.
Trait Implementations§
source§impl Clone for EmailRecipientsBuilder
impl Clone for EmailRecipientsBuilder
source§fn clone(&self) -> EmailRecipientsBuilder
fn clone(&self) -> EmailRecipientsBuilder
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 EmailRecipientsBuilder
impl Debug for EmailRecipientsBuilder
source§impl Default for EmailRecipientsBuilder
impl Default for EmailRecipientsBuilder
source§fn default() -> EmailRecipientsBuilder
fn default() -> EmailRecipientsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EmailRecipientsBuilder
impl PartialEq for EmailRecipientsBuilder
source§fn eq(&self, other: &EmailRecipientsBuilder) -> bool
fn eq(&self, other: &EmailRecipientsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EmailRecipientsBuilder
Auto Trait Implementations§
impl Freeze for EmailRecipientsBuilder
impl RefUnwindSafe for EmailRecipientsBuilder
impl Send for EmailRecipientsBuilder
impl Sync for EmailRecipientsBuilder
impl Unpin for EmailRecipientsBuilder
impl UnwindSafe for EmailRecipientsBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.