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
impl StructuralPartialEq for NewSessionDetailsBuilder
Auto Trait Implementations§
impl Freeze for NewSessionDetailsBuilder
impl RefUnwindSafe for NewSessionDetailsBuilder
impl Send for NewSessionDetailsBuilder
impl Sync for NewSessionDetailsBuilder
impl Unpin for NewSessionDetailsBuilder
impl UnwindSafe for NewSessionDetailsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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