public static Builder builder ( final ClientSessionOptions options ) { notNull ( "options" , options ) ; Builder builder = new Builder ( ) ; builder . causallyConsistent = options . isCausallyConsistent ( ) ; builder . defaultTransactionOptions = options . getDefaultTransactionOptions ( ) ; return builder ; }
Gets an instance of a builder initialized with the given options