Struct aws_sdk_connect::operation::create_participant::builders::CreateParticipantFluentBuilder
source · pub struct CreateParticipantFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateParticipant
.
Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
Implementations§
source§impl CreateParticipantFluentBuilder
impl CreateParticipantFluentBuilder
sourcepub fn as_input(&self) -> &CreateParticipantInputBuilder
pub fn as_input(&self) -> &CreateParticipantInputBuilder
Access the CreateParticipant as a reference.
sourcepub async fn send(
self
) -> Result<CreateParticipantOutput, SdkError<CreateParticipantError, HttpResponse>>
pub async fn send( self ) -> Result<CreateParticipantOutput, SdkError<CreateParticipantError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateParticipantOutput, CreateParticipantError>, SdkError<CreateParticipantError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateParticipantOutput, CreateParticipantError>, SdkError<CreateParticipantError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
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 get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_participant_details(&self) -> &Option<ParticipantDetailsToAdd>
pub fn get_participant_details(&self) -> &Option<ParticipantDetailsToAdd>
Information identifying the participant.
The only Valid value for ParticipantRole
is CUSTOM_BOT
.
DisplayName
is Required.
Trait Implementations§
source§impl Clone for CreateParticipantFluentBuilder
impl Clone for CreateParticipantFluentBuilder
source§fn clone(&self) -> CreateParticipantFluentBuilder
fn clone(&self) -> CreateParticipantFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more