Struct aws_sdk_sesv2::types::builders::ReplacementTemplateBuilder
source · #[non_exhaustive]pub struct ReplacementTemplateBuilder { /* private fields */ }
Expand description
A builder for ReplacementTemplate
.
Implementations§
source§impl ReplacementTemplateBuilder
impl ReplacementTemplateBuilder
sourcepub fn replacement_template_data(self, input: impl Into<String>) -> Self
pub fn replacement_template_data(self, input: impl Into<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn set_replacement_template_data(self, input: Option<String>) -> Self
pub fn set_replacement_template_data(self, input: Option<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn get_replacement_template_data(&self) -> &Option<String>
pub fn get_replacement_template_data(&self) -> &Option<String>
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn build(self) -> ReplacementTemplate
pub fn build(self) -> ReplacementTemplate
Consumes the builder and constructs a ReplacementTemplate
.
Trait Implementations§
source§impl Clone for ReplacementTemplateBuilder
impl Clone for ReplacementTemplateBuilder
source§fn clone(&self) -> ReplacementTemplateBuilder
fn clone(&self) -> ReplacementTemplateBuilder
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 ReplacementTemplateBuilder
impl Debug for ReplacementTemplateBuilder
source§impl Default for ReplacementTemplateBuilder
impl Default for ReplacementTemplateBuilder
source§fn default() -> ReplacementTemplateBuilder
fn default() -> ReplacementTemplateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplacementTemplateBuilder
impl PartialEq for ReplacementTemplateBuilder
source§fn eq(&self, other: &ReplacementTemplateBuilder) -> bool
fn eq(&self, other: &ReplacementTemplateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplacementTemplateBuilder
Auto Trait Implementations§
impl Freeze for ReplacementTemplateBuilder
impl RefUnwindSafe for ReplacementTemplateBuilder
impl Send for ReplacementTemplateBuilder
impl Sync for ReplacementTemplateBuilder
impl Unpin for ReplacementTemplateBuilder
impl UnwindSafe for ReplacementTemplateBuilder
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.