Struct aws_sdk_connect::types::builders::PersistentChatBuilder
source · #[non_exhaustive]pub struct PersistentChatBuilder { /* private fields */ }Expand description
A builder for PersistentChat.
Implementations§
source§impl PersistentChatBuilder
impl PersistentChatBuilder
sourcepub fn rehydration_type(self, input: RehydrationType) -> Self
pub fn rehydration_type(self, input: RehydrationType) -> Self
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
sourcepub fn set_rehydration_type(self, input: Option<RehydrationType>) -> Self
pub fn set_rehydration_type(self, input: Option<RehydrationType>) -> Self
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
sourcepub fn get_rehydration_type(&self) -> &Option<RehydrationType>
pub fn get_rehydration_type(&self) -> &Option<RehydrationType>
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
sourcepub fn source_contact_id(self, input: impl Into<String>) -> Self
pub fn source_contact_id(self, input: impl Into<String>) -> Self
The contactId from which a persistent chat session must be started.
sourcepub fn set_source_contact_id(self, input: Option<String>) -> Self
pub fn set_source_contact_id(self, input: Option<String>) -> Self
The contactId from which a persistent chat session must be started.
sourcepub fn get_source_contact_id(&self) -> &Option<String>
pub fn get_source_contact_id(&self) -> &Option<String>
The contactId from which a persistent chat session must be started.
sourcepub fn build(self) -> PersistentChat
pub fn build(self) -> PersistentChat
Consumes the builder and constructs a PersistentChat.
Trait Implementations§
source§impl Clone for PersistentChatBuilder
impl Clone for PersistentChatBuilder
source§fn clone(&self) -> PersistentChatBuilder
fn clone(&self) -> PersistentChatBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PersistentChatBuilder
impl Debug for PersistentChatBuilder
source§impl Default for PersistentChatBuilder
impl Default for PersistentChatBuilder
source§fn default() -> PersistentChatBuilder
fn default() -> PersistentChatBuilder
source§impl PartialEq for PersistentChatBuilder
impl PartialEq for PersistentChatBuilder
impl StructuralPartialEq for PersistentChatBuilder
Auto Trait Implementations§
impl Freeze for PersistentChatBuilder
impl RefUnwindSafe for PersistentChatBuilder
impl Send for PersistentChatBuilder
impl Sync for PersistentChatBuilder
impl Unpin for PersistentChatBuilder
impl UnwindSafe for PersistentChatBuilder
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