public CreateParticipantConnectionResult withWebsocket(Websocket websocket) {
        setWebsocket(websocket);
        return this;
    }
<p>
Creates the participant's websocket connection.
</p>

@param websocket
       Creates the participant's websocket connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CreateParticipantConnectionResult.java