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 Details

    • 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 the ConnectionData.Builder avoiding the need to create one manually via ConnectionData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectionData(ConnectionData).

      Parameters:
      connectionData - a consumer that will call methods on ConnectionData.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

      StartWebRtcContactResponse.Builder participantId(String 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. The ParticipantId 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

      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.