public CreateSessionRequest withConnections(ConnectionsList connections) {
        setConnections(connections);
        return this;
    }
<p>
The number of connections to use for the session.
</p>

@param connections
       The number of connections to use for the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateSessionRequest.java