public PutResult(String successCount,String failCount,List<String> errorMessages){
  _successCount=successCount;
  _failCount=failCount;
  _errorMessages=new ArrayList<>();
  if (errorMessages != null) {
    _errorMessages.addAll(errorMessages);
  }
}

public PutResult ( String successCount , String failCount , List < String > errorMessages ) { _successCount = successCount ; _failCount = failCount ; _errorMessages = new ArrayList < > ( ) ; if ( errorMessages != null ) { _errorMessages . addAll ( errorMessages ) ; } }
creates a new putresult object .
