Interface CreateParticipantConnectionResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,ConnectParticipantResponse.Builder,CopyableBuilder<CreateParticipantConnectionResponse.Builder,,CreateParticipantConnectionResponse> SdkBuilder<CreateParticipantConnectionResponse.Builder,,CreateParticipantConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateParticipantConnectionResponse
public static interface CreateParticipantConnectionResponse.Builder
extends ConnectParticipantResponse.Builder, SdkPojo, CopyableBuilder<CreateParticipantConnectionResponse.Builder,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.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaWebsocket.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConnectionCredentials.builder().When the
Consumercompletes,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:
 
 
 -