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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateParticipantConnectionResponse.BuilderconnectionCredentials(Consumer<ConnectionCredentials.Builder> connectionCredentials)Creates the participant's connection credentials.CreateParticipantConnectionResponse.BuilderconnectionCredentials(ConnectionCredentials connectionCredentials)Creates the participant's connection credentials.default CreateParticipantConnectionResponse.Builderwebsocket(Consumer<Websocket.Builder> websocket)Creates the participant's websocket connection.CreateParticipantConnectionResponse.Builderwebsocket(Websocket websocket)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
websocket
CreateParticipantConnectionResponse.Builder websocket(Websocket 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:
websocket(Websocket)
-
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:
connectionCredentials(ConnectionCredentials)
-
-