public static interface CreateParticipantResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateParticipantResponse.Builder,CreateParticipantResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateParticipantResponse.Builder |
participantCredentials(Consumer<ParticipantTokenCredentials.Builder> participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. |
CreateParticipantResponse.Builder |
participantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. |
CreateParticipantResponse.Builder |
participantId(String participantId)
The identifier for a chat participant.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateParticipantResponse.Builder participantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call CreateParticipantConnection. The participant
token is valid for the lifetime of a chat participant.
participantCredentials - The token used by the chat participant to call CreateParticipantConnection. The
participant token is valid for the lifetime of a chat participant.default CreateParticipantResponse.Builder participantCredentials(Consumer<ParticipantTokenCredentials.Builder> participantCredentials)
The token used by the chat participant to call CreateParticipantConnection. The participant
token is valid for the lifetime of a chat participant.
ParticipantTokenCredentials.Builder
avoiding the need to create one manually via ParticipantTokenCredentials.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to participantCredentials(ParticipantTokenCredentials).
participantCredentials - a consumer that will call methods on ParticipantTokenCredentials.BuilderparticipantCredentials(ParticipantTokenCredentials)CreateParticipantResponse.Builder participantId(String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
participantId - The identifier for a chat participant. The participantId for a chat participant is the same throughout
the chat lifecycle.Copyright © 2023. All rights reserved.