use newArrayList(securityGroupName)  (static import from Lists) instead of Arrays.asList(new String[] { securityGroupName })