Struct aws_sdk_connect::operation::create_participant::builders::CreateParticipantOutputBuilder
source · #[non_exhaustive]pub struct CreateParticipantOutputBuilder { /* private fields */ }
Expand description
A builder for CreateParticipantOutput
.
Implementations§
source§impl CreateParticipantOutputBuilder
impl CreateParticipantOutputBuilder
sourcepub fn participant_credentials(self, input: ParticipantTokenCredentials) -> Self
pub fn participant_credentials(self, input: ParticipantTokenCredentials) -> 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_credentials(
self,
input: Option<ParticipantTokenCredentials>
) -> Self
pub fn set_participant_credentials( self, input: Option<ParticipantTokenCredentials> ) -> 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_credentials(
&self
) -> &Option<ParticipantTokenCredentials>
pub fn get_participant_credentials( &self ) -> &Option<ParticipantTokenCredentials>
The token used by the chat participant to call CreateParticipantConnection
. The participant token is valid for the lifetime of a chat participant.
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 build(self) -> CreateParticipantOutput
pub fn build(self) -> CreateParticipantOutput
Consumes the builder and constructs a CreateParticipantOutput
.
Trait Implementations§
source§impl Clone for CreateParticipantOutputBuilder
impl Clone for CreateParticipantOutputBuilder
source§fn clone(&self) -> CreateParticipantOutputBuilder
fn clone(&self) -> CreateParticipantOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateParticipantOutputBuilder
impl Default for CreateParticipantOutputBuilder
source§fn default() -> CreateParticipantOutputBuilder
fn default() -> CreateParticipantOutputBuilder
source§impl PartialEq for CreateParticipantOutputBuilder
impl PartialEq for CreateParticipantOutputBuilder
source§fn eq(&self, other: &CreateParticipantOutputBuilder) -> bool
fn eq(&self, other: &CreateParticipantOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateParticipantOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateParticipantOutputBuilder
impl RefUnwindSafe for CreateParticipantOutputBuilder
impl Send for CreateParticipantOutputBuilder
impl Sync for CreateParticipantOutputBuilder
impl Unpin for CreateParticipantOutputBuilder
impl UnwindSafe for CreateParticipantOutputBuilder
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> 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