Struct aws_sdk_connect::operation::create_participant::builders::CreateParticipantInputBuilder    
source · #[non_exhaustive]pub struct CreateParticipantInputBuilder { /* private fields */ }Expand description
A builder for CreateParticipantInput.
Implementations§
source§impl CreateParticipantInputBuilder
 
impl CreateParticipantInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
 
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
 
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
 
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
 
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
 
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
 
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn participant_details(self, input: ParticipantDetailsToAdd) -> Self
 
pub fn participant_details(self, input: ParticipantDetailsToAdd) -> Self
Information identifying the participant.
The only Valid value for ParticipantRole is CUSTOM_BOT. 
 DisplayName is Required.
sourcepub fn set_participant_details(
    self,
    input: Option<ParticipantDetailsToAdd>
) -> Self
 
pub fn set_participant_details( self, input: Option<ParticipantDetailsToAdd> ) -> Self
Information identifying the participant.
The only Valid value for ParticipantRole is CUSTOM_BOT. 
 DisplayName is Required.
sourcepub fn build(self) -> Result<CreateParticipantInput, BuildError>
 
pub fn build(self) -> Result<CreateParticipantInput, BuildError>
Consumes the builder and constructs a CreateParticipantInput.
Trait Implementations§
source§impl Clone for CreateParticipantInputBuilder
 
impl Clone for CreateParticipantInputBuilder
source§fn clone(&self) -> CreateParticipantInputBuilder
 
fn clone(&self) -> CreateParticipantInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateParticipantInputBuilder
 
impl Default for CreateParticipantInputBuilder
source§fn default() -> CreateParticipantInputBuilder
 
fn default() -> CreateParticipantInputBuilder
source§impl PartialEq<CreateParticipantInputBuilder> for CreateParticipantInputBuilder
 
impl PartialEq<CreateParticipantInputBuilder> for CreateParticipantInputBuilder
source§fn eq(&self, other: &CreateParticipantInputBuilder) -> bool
 
fn eq(&self, other: &CreateParticipantInputBuilder) -> bool
self and other values to be equal, and is used
by ==.