adding validation to priming request builder and adding javadoc