Struct aws_sdk_connect::operation::start_chat_contact::builders::StartChatContactOutputBuilder
source · #[non_exhaustive]pub struct StartChatContactOutputBuilder { /* private fields */ }
Expand description
A builder for StartChatContactOutput
.
Implementations§
source§impl StartChatContactOutputBuilder
impl StartChatContactOutputBuilder
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of this contact within the Amazon Connect instance.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of this contact within the Amazon Connect instance.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of this contact within the Amazon Connect instance.
sourcepub fn participant_id(self, input: impl Into<String>) -> Self
pub fn participant_id(self, input: impl Into<String>) -> Self
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
sourcepub fn set_participant_id(self, input: Option<String>) -> Self
pub fn set_participant_id(self, input: Option<String>) -> Self
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
sourcepub fn get_participant_id(&self) -> &Option<String>
pub fn get_participant_id(&self) -> &Option<String>
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
sourcepub fn participant_token(self, input: impl Into<String>) -> Self
pub fn participant_token(self, input: impl Into<String>) -> Self
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
sourcepub fn set_participant_token(self, input: Option<String>) -> Self
pub fn set_participant_token(self, input: Option<String>) -> Self
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
sourcepub fn get_participant_token(&self) -> &Option<String>
pub fn get_participant_token(&self) -> &Option<String>
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
sourcepub fn continued_from_contact_id(self, input: impl Into<String>) -> Self
pub fn continued_from_contact_id(self, input: impl Into<String>) -> Self
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
sourcepub fn set_continued_from_contact_id(self, input: Option<String>) -> Self
pub fn set_continued_from_contact_id(self, input: Option<String>) -> Self
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
sourcepub fn get_continued_from_contact_id(&self) -> &Option<String>
pub fn get_continued_from_contact_id(&self) -> &Option<String>
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
sourcepub fn build(self) -> StartChatContactOutput
pub fn build(self) -> StartChatContactOutput
Consumes the builder and constructs a StartChatContactOutput
.
Trait Implementations§
source§impl Clone for StartChatContactOutputBuilder
impl Clone for StartChatContactOutputBuilder
source§fn clone(&self) -> StartChatContactOutputBuilder
fn clone(&self) -> StartChatContactOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartChatContactOutputBuilder
impl Default for StartChatContactOutputBuilder
source§fn default() -> StartChatContactOutputBuilder
fn default() -> StartChatContactOutputBuilder
source§impl PartialEq for StartChatContactOutputBuilder
impl PartialEq for StartChatContactOutputBuilder
source§fn eq(&self, other: &StartChatContactOutputBuilder) -> bool
fn eq(&self, other: &StartChatContactOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartChatContactOutputBuilder
Auto Trait Implementations§
impl Freeze for StartChatContactOutputBuilder
impl RefUnwindSafe for StartChatContactOutputBuilder
impl Send for StartChatContactOutputBuilder
impl Sync for StartChatContactOutputBuilder
impl Unpin for StartChatContactOutputBuilder
impl UnwindSafe for StartChatContactOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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