List of usage examples for com.amazonaws.auth.profile ProfilesConfigFile getAllProfiles
@Deprecated
public Map<String, Profile> getAllProfiles()
From source file:Aws.Profile.java
public ArrayList getCustomerList(ProfilesConfigFile credentials) { //As you may have many profiles let's retrive them all ArrayList customers = new ArrayList(); for (String key : credentials.getAllProfiles().keySet()) { customers.add(key);/* w w w . j a v a 2 s.c o m*/ } return customers; }