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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartWebRtcContactResponse.BuilderconnectionData(Consumer<ConnectionData.Builder> connectionData)Information required for the client application (mobile application or website) to connect to the call.StartWebRtcContactResponse.BuilderconnectionData(ConnectionData connectionData)Information required for the client application (mobile application or website) to connect to the call.StartWebRtcContactResponse.BuildercontactId(String contactId)The identifier of the contact in this instance of Amazon Connect.StartWebRtcContactResponse.BuilderparticipantId(String participantId)The identifier for a contact participant.StartWebRtcContactResponse.BuilderparticipantToken(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 Detail
-
connectionData
StartWebRtcContactResponse.Builder connectionData(ConnectionData 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.Builderavoiding the need to create one manually viaConnectionData.builder().When the
Consumercompletes,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:
connectionData(ConnectionData)
-
contactId
StartWebRtcContactResponse.Builder contactId(String 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
StartWebRtcContactResponse.Builder participantId(String participantId)
The identifier for a contact participant. The
ParticipantIdfor a contact participant is the same throughout the contact lifecycle.- Parameters:
participantId- The identifier for a contact participant. TheParticipantIdfor 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
StartWebRtcContactResponse.Builder participantToken(String 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.
-
-