Struct aws_sdk_lexmodelsv2::model::message::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Message.
Implementations§
source§impl Builder
impl Builder
sourcepub fn plain_text_message(self, input: PlainTextMessage) -> Self
pub fn plain_text_message(self, input: PlainTextMessage) -> Self
A message in plain text format.
sourcepub fn set_plain_text_message(self, input: Option<PlainTextMessage>) -> Self
pub fn set_plain_text_message(self, input: Option<PlainTextMessage>) -> Self
A message in plain text format.
sourcepub fn custom_payload(self, input: CustomPayload) -> Self
pub fn custom_payload(self, input: CustomPayload) -> Self
A message in a custom format defined by the client application.
sourcepub fn set_custom_payload(self, input: Option<CustomPayload>) -> Self
pub fn set_custom_payload(self, input: Option<CustomPayload>) -> Self
A message in a custom format defined by the client application.
sourcepub fn ssml_message(self, input: SsmlMessage) -> Self
pub fn ssml_message(self, input: SsmlMessage) -> Self
A message in Speech Synthesis Markup Language (SSML).
sourcepub fn set_ssml_message(self, input: Option<SsmlMessage>) -> Self
pub fn set_ssml_message(self, input: Option<SsmlMessage>) -> Self
A message in Speech Synthesis Markup Language (SSML).
sourcepub fn image_response_card(self, input: ImageResponseCard) -> Self
pub fn image_response_card(self, input: ImageResponseCard) -> Self
A message that defines a response card that the client application can show to the user.
sourcepub fn set_image_response_card(self, input: Option<ImageResponseCard>) -> Self
pub fn set_image_response_card(self, input: Option<ImageResponseCard>) -> Self
A message that defines a response card that the client application can show to the user.