I am not an expert on the matter but, for now, online universities aren’t seen as credible as ones that you attend. This is changing, however. Many universities are offering coursework online and as long as they are still giving you their name, it should be okay. I haven’t heard of AMU and know little about military academic institutions. Are there peers who are doing the same you can ask?