public Session withConnectionState(SessionConnectionState connectionState) {
        this.connectionState = connectionState.toString();
        return this;
    }
<p>
Specifies whether a user is connected to the streaming session.
</p>

@param connectionState
       Specifies whether a user is connected to the streaming session.
@return Returns a reference to this object so that method calls can be chained together.
@see SessionConnectionState
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/Session.java