#[non_exhaustive]pub struct VoiceMessageContentBuilder { /* private fields */ }
Expand description
A builder for VoiceMessageContent
.
Implementations§
source§impl VoiceMessageContentBuilder
impl VoiceMessageContentBuilder
sourcepub fn call_instructions_message(
self,
input: CallInstructionsMessageType
) -> Self
pub fn call_instructions_message( self, input: CallInstructionsMessageType ) -> Self
An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.
sourcepub fn set_call_instructions_message(
self,
input: Option<CallInstructionsMessageType>
) -> Self
pub fn set_call_instructions_message( self, input: Option<CallInstructionsMessageType> ) -> Self
An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.
sourcepub fn get_call_instructions_message(
&self
) -> &Option<CallInstructionsMessageType>
pub fn get_call_instructions_message( &self ) -> &Option<CallInstructionsMessageType>
An object that defines a message that contains text formatted using Amazon Pinpoint Voice Instructions markup.
sourcepub fn plain_text_message(self, input: PlainTextMessageType) -> Self
pub fn plain_text_message(self, input: PlainTextMessageType) -> Self
An object that defines a message that contains unformatted text.
sourcepub fn set_plain_text_message(self, input: Option<PlainTextMessageType>) -> Self
pub fn set_plain_text_message(self, input: Option<PlainTextMessageType>) -> Self
An object that defines a message that contains unformatted text.
sourcepub fn get_plain_text_message(&self) -> &Option<PlainTextMessageType>
pub fn get_plain_text_message(&self) -> &Option<PlainTextMessageType>
An object that defines a message that contains unformatted text.
sourcepub fn ssml_message(self, input: SsmlMessageType) -> Self
pub fn ssml_message(self, input: SsmlMessageType) -> Self
An object that defines a message that contains SSML-formatted text.
sourcepub fn set_ssml_message(self, input: Option<SsmlMessageType>) -> Self
pub fn set_ssml_message(self, input: Option<SsmlMessageType>) -> Self
An object that defines a message that contains SSML-formatted text.
sourcepub fn get_ssml_message(&self) -> &Option<SsmlMessageType>
pub fn get_ssml_message(&self) -> &Option<SsmlMessageType>
An object that defines a message that contains SSML-formatted text.
sourcepub fn build(self) -> VoiceMessageContent
pub fn build(self) -> VoiceMessageContent
Consumes the builder and constructs a VoiceMessageContent
.
Trait Implementations§
source§impl Clone for VoiceMessageContentBuilder
impl Clone for VoiceMessageContentBuilder
source§fn clone(&self) -> VoiceMessageContentBuilder
fn clone(&self) -> VoiceMessageContentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VoiceMessageContentBuilder
impl Debug for VoiceMessageContentBuilder
source§impl Default for VoiceMessageContentBuilder
impl Default for VoiceMessageContentBuilder
source§fn default() -> VoiceMessageContentBuilder
fn default() -> VoiceMessageContentBuilder
source§impl PartialEq for VoiceMessageContentBuilder
impl PartialEq for VoiceMessageContentBuilder
source§fn eq(&self, other: &VoiceMessageContentBuilder) -> bool
fn eq(&self, other: &VoiceMessageContentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VoiceMessageContentBuilder
Auto Trait Implementations§
impl Freeze for VoiceMessageContentBuilder
impl RefUnwindSafe for VoiceMessageContentBuilder
impl Send for VoiceMessageContentBuilder
impl Sync for VoiceMessageContentBuilder
impl Unpin for VoiceMessageContentBuilder
impl UnwindSafe for VoiceMessageContentBuilder
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
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>
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>
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 more