Interface CreateParticipantResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<CreateParticipantResponse.Builder,CreateParticipantResponse>,SdkBuilder<CreateParticipantResponse.Builder,CreateParticipantResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateParticipantResponse
public static interface CreateParticipantResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateParticipantResponse.Builder,CreateParticipantResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateParticipantResponse.BuilderparticipantCredentials(Consumer<ParticipantTokenCredentials.Builder> participantCredentials)The token used by the chat participant to callCreateParticipantConnection.CreateParticipantResponse.BuilderparticipantCredentials(ParticipantTokenCredentials participantCredentials)The token used by the chat participant to callCreateParticipantConnection.CreateParticipantResponse.BuilderparticipantId(String participantId)The identifier for a chat participant.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
participantCredentials
CreateParticipantResponse.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.- Parameters:
participantCredentials- The token used by the chat participant to callCreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantCredentials
default CreateParticipantResponse.Builder participantCredentials(Consumer<ParticipantTokenCredentials.Builder> participantCredentials)
The token used by the chat participant to call
This is a convenience method that creates an instance of theCreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.ParticipantTokenCredentials.Builderavoiding the need to create one manually viaParticipantTokenCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparticipantCredentials(ParticipantTokenCredentials).- Parameters:
participantCredentials- a consumer that will call methods onParticipantTokenCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
participantCredentials(ParticipantTokenCredentials)
-
participantId
CreateParticipantResponse.Builder participantId(String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
- Parameters:
participantId- The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-