Struct aws_sdk_iotevents::types::builders::EmailContentBuilder
source · #[non_exhaustive]pub struct EmailContentBuilder { /* private fields */ }
Expand description
A builder for EmailContent
.
Implementations§
source§impl EmailContentBuilder
impl EmailContentBuilder
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The subject of the email.
sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The subject of the email.
sourcepub fn additional_message(self, input: impl Into<String>) -> Self
pub fn additional_message(self, input: impl Into<String>) -> Self
The message that you want to send. The message can be up to 200 characters.
sourcepub fn set_additional_message(self, input: Option<String>) -> Self
pub fn set_additional_message(self, input: Option<String>) -> Self
The message that you want to send. The message can be up to 200 characters.
sourcepub fn get_additional_message(&self) -> &Option<String>
pub fn get_additional_message(&self) -> &Option<String>
The message that you want to send. The message can be up to 200 characters.
sourcepub fn build(self) -> EmailContent
pub fn build(self) -> EmailContent
Consumes the builder and constructs a EmailContent
.
Trait Implementations§
source§impl Clone for EmailContentBuilder
impl Clone for EmailContentBuilder
source§fn clone(&self) -> EmailContentBuilder
fn clone(&self) -> EmailContentBuilder
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 EmailContentBuilder
impl Debug for EmailContentBuilder
source§impl Default for EmailContentBuilder
impl Default for EmailContentBuilder
source§fn default() -> EmailContentBuilder
fn default() -> EmailContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EmailContentBuilder
impl PartialEq for EmailContentBuilder
source§fn eq(&self, other: &EmailContentBuilder) -> bool
fn eq(&self, other: &EmailContentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EmailContentBuilder
Auto Trait Implementations§
impl Freeze for EmailContentBuilder
impl RefUnwindSafe for EmailContentBuilder
impl Send for EmailContentBuilder
impl Sync for EmailContentBuilder
impl Unpin for EmailContentBuilder
impl UnwindSafe for EmailContentBuilder
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.