Struct aws_sdk_connect::types::builders::NewSessionDetailsBuilder
source · #[non_exhaustive]pub struct NewSessionDetailsBuilder { /* private fields */ }
Expand description
A builder for NewSessionDetails
.
Implementations§
source§impl NewSessionDetailsBuilder
impl NewSessionDetailsBuilder
sourcepub fn supported_messaging_content_types(self, input: impl Into<String>) -> Self
pub fn supported_messaging_content_types(self, input: impl Into<String>) -> Self
Appends an item to supported_messaging_content_types
.
To override the contents of this collection use set_supported_messaging_content_types
.
The supported chat message content types. Supported types are text/plain
, text/markdown
, application/json
, application/vnd.amazonaws.connect.message.interactive
, and application/vnd.amazonaws.connect.message.interactive.response
.
Content types must always contain text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they contain text/plain
: [text/plain, text/markdown, application/json]
, [text/markdown, text/plain]
, [text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.
sourcepub fn set_supported_messaging_content_types(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_supported_messaging_content_types( self, input: Option<Vec<String>> ) -> Self
The supported chat message content types. Supported types are text/plain
, text/markdown
, application/json
, application/vnd.amazonaws.connect.message.interactive
, and application/vnd.amazonaws.connect.message.interactive.response
.
Content types must always contain text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they contain text/plain
: [text/plain, text/markdown, application/json]
, [text/markdown, text/plain]
, [text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.
sourcepub fn get_supported_messaging_content_types(&self) -> &Option<Vec<String>>
pub fn get_supported_messaging_content_types(&self) -> &Option<Vec<String>>
The supported chat message content types. Supported types are text/plain
, text/markdown
, application/json
, application/vnd.amazonaws.connect.message.interactive
, and application/vnd.amazonaws.connect.message.interactive.response
.
Content types must always contain text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they contain text/plain
: [text/plain, text/markdown, application/json]
, [text/markdown, text/plain]
, [text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.
sourcepub fn participant_details(self, input: ParticipantDetails) -> Self
pub fn participant_details(self, input: ParticipantDetails) -> Self
The customer's details.
sourcepub fn set_participant_details(self, input: Option<ParticipantDetails>) -> Self
pub fn set_participant_details(self, input: Option<ParticipantDetails>) -> Self
The customer's details.
sourcepub fn get_participant_details(&self) -> &Option<ParticipantDetails>
pub fn get_participant_details(&self) -> &Option<ParticipantDetails>
The customer's details.
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes
.
To override the contents of this collection use set_attributes
.
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn streaming_configuration(self, input: ChatStreamingConfiguration) -> Self
pub fn streaming_configuration(self, input: ChatStreamingConfiguration) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn set_streaming_configuration(
self,
input: Option<ChatStreamingConfiguration>
) -> Self
pub fn set_streaming_configuration( self, input: Option<ChatStreamingConfiguration> ) -> Self
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn get_streaming_configuration(&self) -> &Option<ChatStreamingConfiguration>
pub fn get_streaming_configuration(&self) -> &Option<ChatStreamingConfiguration>
The streaming configuration, such as the Amazon SNS streaming endpoint.
sourcepub fn build(self) -> NewSessionDetails
pub fn build(self) -> NewSessionDetails
Consumes the builder and constructs a NewSessionDetails
.
Trait Implementations§
source§impl Clone for NewSessionDetailsBuilder
impl Clone for NewSessionDetailsBuilder
source§fn clone(&self) -> NewSessionDetailsBuilder
fn clone(&self) -> NewSessionDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NewSessionDetailsBuilder
impl Debug for NewSessionDetailsBuilder
source§impl Default for NewSessionDetailsBuilder
impl Default for NewSessionDetailsBuilder
source§fn default() -> NewSessionDetailsBuilder
fn default() -> NewSessionDetailsBuilder
source§impl PartialEq for NewSessionDetailsBuilder
impl PartialEq for NewSessionDetailsBuilder
source§fn eq(&self, other: &NewSessionDetailsBuilder) -> bool
fn eq(&self, other: &NewSessionDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.