Interface CreateParticipantConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectParticipantResponse.Builder
,CopyableBuilder<CreateParticipantConnectionResponse.Builder,
,CreateParticipantConnectionResponse> SdkBuilder<CreateParticipantConnectionResponse.Builder,
,CreateParticipantConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateParticipantConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectionCredentials
(Consumer<ConnectionCredentials.Builder> connectionCredentials) Creates the participant's connection credentials.connectionCredentials
(ConnectionCredentials connectionCredentials) Creates the participant's connection credentials.webRTCConnection
(Consumer<WebRTCConnection.Builder> webRTCConnection) Creates the participant's WebRTC connection data required for the client application (mobile application or website) to connect to the call.webRTCConnection
(WebRTCConnection webRTCConnection) Creates the participant's WebRTC connection data required for the client application (mobile application or website) to connect to the call.websocket
(Consumer<Websocket.Builder> websocket) Creates the participant's websocket connection.Creates the participant's websocket connection.Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
websocket
Creates the participant's websocket connection.
- Parameters:
websocket
- Creates the participant's websocket connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websocket
default CreateParticipantConnectionResponse.Builder websocket(Consumer<Websocket.Builder> websocket) Creates the participant's websocket connection.
This is a convenience method that creates an instance of theWebsocket.Builder
avoiding the need to create one manually viaWebsocket.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebsocket(Websocket)
.- Parameters:
websocket
- a consumer that will call methods onWebsocket.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionCredentials
CreateParticipantConnectionResponse.Builder connectionCredentials(ConnectionCredentials connectionCredentials) Creates the participant's connection credentials. The authentication token associated with the participant's connection.
- Parameters:
connectionCredentials
- Creates the participant's connection credentials. The authentication token associated with the participant's connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionCredentials
default CreateParticipantConnectionResponse.Builder connectionCredentials(Consumer<ConnectionCredentials.Builder> connectionCredentials) Creates the participant's connection credentials. The authentication token associated with the participant's connection.
This is a convenience method that creates an instance of theConnectionCredentials.Builder
avoiding the need to create one manually viaConnectionCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionCredentials(ConnectionCredentials)
.- Parameters:
connectionCredentials
- a consumer that will call methods onConnectionCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webRTCConnection
Creates the participant's WebRTC connection data required for the client application (mobile application or website) to connect to the call.
- Parameters:
webRTCConnection
- Creates the participant's WebRTC connection data 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.
-
webRTCConnection
default CreateParticipantConnectionResponse.Builder webRTCConnection(Consumer<WebRTCConnection.Builder> webRTCConnection) Creates the participant's WebRTC connection data required for the client application (mobile application or website) to connect to the call.
This is a convenience method that creates an instance of theWebRTCConnection.Builder
avoiding the need to create one manually viaWebRTCConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebRTCConnection(WebRTCConnection)
.- Parameters:
webRTCConnection
- a consumer that will call methods onWebRTCConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-