#[non_exhaustive]pub struct JourneyCustomMessageBuilder { /* private fields */ }
Expand description
A builder for JourneyCustomMessage
.
Implementations§
source§impl JourneyCustomMessageBuilder
impl JourneyCustomMessageBuilder
sourcepub fn data(self, input: impl Into<String>) -> Self
pub fn data(self, input: impl Into<String>) -> Self
The message content that's passed to an AWS Lambda function or to a web hook.
sourcepub fn set_data(self, input: Option<String>) -> Self
pub fn set_data(self, input: Option<String>) -> Self
The message content that's passed to an AWS Lambda function or to a web hook.
sourcepub fn get_data(&self) -> &Option<String>
pub fn get_data(&self) -> &Option<String>
The message content that's passed to an AWS Lambda function or to a web hook.
sourcepub fn build(self) -> JourneyCustomMessage
pub fn build(self) -> JourneyCustomMessage
Consumes the builder and constructs a JourneyCustomMessage
.
Trait Implementations§
source§impl Clone for JourneyCustomMessageBuilder
impl Clone for JourneyCustomMessageBuilder
source§fn clone(&self) -> JourneyCustomMessageBuilder
fn clone(&self) -> JourneyCustomMessageBuilder
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 JourneyCustomMessageBuilder
impl Debug for JourneyCustomMessageBuilder
source§impl Default for JourneyCustomMessageBuilder
impl Default for JourneyCustomMessageBuilder
source§fn default() -> JourneyCustomMessageBuilder
fn default() -> JourneyCustomMessageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for JourneyCustomMessageBuilder
impl PartialEq for JourneyCustomMessageBuilder
source§fn eq(&self, other: &JourneyCustomMessageBuilder) -> bool
fn eq(&self, other: &JourneyCustomMessageBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JourneyCustomMessageBuilder
Auto Trait Implementations§
impl Freeze for JourneyCustomMessageBuilder
impl RefUnwindSafe for JourneyCustomMessageBuilder
impl Send for JourneyCustomMessageBuilder
impl Sync for JourneyCustomMessageBuilder
impl Unpin for JourneyCustomMessageBuilder
impl UnwindSafe for JourneyCustomMessageBuilder
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.