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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateParticipantOutputBuilder
impl Default for CreateParticipantOutputBuilder
source§fn default() -> CreateParticipantOutputBuilder
fn default() -> CreateParticipantOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateParticipantOutputBuilder> for CreateParticipantOutputBuilder
impl PartialEq<CreateParticipantOutputBuilder> for CreateParticipantOutputBuilder
source§fn eq(&self, other: &CreateParticipantOutputBuilder) -> bool
fn eq(&self, other: &CreateParticipantOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateParticipantOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more