src/main/java/software/amazon/qldb/Session.java
EndSessionResult sendEndSession() {
        final EndSessionRequest request = EndSessionRequest.builder().build();

        SendCommandResponse result = send(SendCommandRequest.builder().endSession(request));
        return result.endSession();
    }
/**
     * Send an end session request to QLDB, closing all open results and transactions.
     *
     * @return The result of the end session request.
     */
Send an end session request to QLDB, closing all open results and transactions.
@return The result of the end session request.
Send an end session request to QLDB closing all open results and transactions . @return The result of the end session request .
EndSessionResult sendEndSession() {
        final EndSessionRequest request = EndSessionRequest.builder().build();
        SendCommandResponse result = send(SendCommandRequest.builder().endSession(request));
        return result.endSession();
    }
EndSessionResult sendEndSession ( ) { final EndSessionRequest request = EndSessionRequest . builder ( ) . build ( ) ; SendCommandResponse result = send ( SendCommandRequest . builder ( ) . endSession ( request ) ) ; return result . endSession ( ) ; }
Send an end session request to QLDB, closing all open results and transactions.
Send an end session request to QLDB closing all open results and transactions .