question: public static void addEndpoint ( String region , String domain ) { regionMap . put ( region , domain ) ; try { DefaultProfile . addEndpoint ( region , region , "BatchCompute" , domain ) ; } catch ( ClientException e ) { e . printStackTrace ( ) ; } }
target:  add region domain mapping