List of usage examples for com.amazonaws.regions RegionUtils getRegionsForService
public static List<Region> getRegionsForService(String serviceAbbreviation)
From source file:com.hangum.tadpole.aws.rds.commons.core.utils.AmazonRDSUtsils.java
License:Open Source License
/** * list region name//from www. j a v a2 s . c o m * * @return */ public static List<String> getRDSRegionList() { List<String> listRegion = new ArrayList<String>(); for (Region region : RegionUtils.getRegionsForService(ServiceAbbreviations.RDS)) { listRegion.add(region.getName()); } return listRegion; }