Interface StartWebRtcContactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<StartWebRtcContactResponse.Builder,
,StartWebRtcContactResponse> SdkBuilder<StartWebRtcContactResponse.Builder,
,StartWebRtcContactResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartWebRtcContactResponse
public static interface StartWebRtcContactResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<StartWebRtcContactResponse.Builder,StartWebRtcContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionData
(Consumer<ConnectionData.Builder> connectionData) Information required for the client application (mobile application or website) to connect to the call.connectionData
(ConnectionData connectionData) Information required for the client application (mobile application or website) to connect to the call.The identifier of the contact in this instance of Amazon Connect.participantId
(String participantId) The identifier for a contact participant.participantToken
(String participantToken) The token used by the contact participant to call the CreateParticipantConnection API.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 Details
-
connectionData
Information required for the client application (mobile application or website) to connect to the call.
- Parameters:
connectionData
- Information required for the client application (mobile application or website) to connect to the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionData
default StartWebRtcContactResponse.Builder connectionData(Consumer<ConnectionData.Builder> connectionData) Information required for the client application (mobile application or website) to connect to the call.
This is a convenience method that creates an instance of theConnectionData.Builder
avoiding the need to create one manually viaConnectionData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionData(ConnectionData)
.- Parameters:
connectionData
- a consumer that will call methods onConnectionData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contactId
The identifier of the contact in this instance of Amazon Connect.
- Parameters:
contactId
- The identifier of the contact in this instance of Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantId
The identifier for a contact participant. The
ParticipantId
for a contact participant is the same throughout the contact lifecycle.- Parameters:
participantId
- The identifier for a contact participant. TheParticipantId
for a contact participant is the same throughout the contact lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantToken
The token used by the contact participant to call the CreateParticipantConnection API. The participant token is valid for the lifetime of a contact participant.
- Parameters:
participantToken
- The token used by the contact participant to call the CreateParticipantConnection API. The participant token is valid for the lifetime of a contact participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-