/** * Returns a list of the available AWS regions. */ public static List<Region> getRegions() { return getRegionMetadata().getRegions(); }
/** * Returns the region with the given regionName and proper partition if found in region metadata. * Otherwise, returns a {@link Region} object with given regionName and aws partition. */ public static Region getRegion(String regionName) { return getRegionMetadata().getRegion(regionName); }
/** * Returns a list of the regions that support the service given. * * @param serviceAbbreviation * The service endpoint prefix which can be retrieved from the * constant ENDPOINT_PREFIX of the specific service client interface. * */ public static List<Region> getRegionsForService( String serviceAbbreviation) { return getRegionMetadata().getRegionsForService(serviceAbbreviation); }
/** * Returns a list of the regions that support the service given. * * @param serviceAbbreviation * The service endpoint prefix which can be retrieved from the * constant ENDPOINT_PREFIX of the specific service client interface. * */ public static List<Region> getRegionsForService( String serviceAbbreviation) { return getRegionMetadata().getRegionsForService(serviceAbbreviation); }
/** * Returns the region with the given regionName and proper partition if found in region metadata. * Otherwise, returns a {@link Region} object with given regionName and aws partition. */ public static Region getRegion(String regionName) { return getRegionMetadata().getRegion(regionName); }
/** * Returns a list of the available AWS regions. */ public static List<Region> getRegions() { return getRegionMetadata().getRegions(); }
/** * Returns a list of the regions that support the service given. * * @param serviceAbbreviation * The service endpoint prefix which can be retrieved from the * constant ENDPOINT_PREFIX of the specific service client interface. * */ public static List<Region> getRegionsForService( String serviceAbbreviation) { return getRegionMetadata().getRegionsForService(serviceAbbreviation); }
/** * Returns the region with the id given, if it exists. Otherwise, returns * null. */ public static Region getRegion(String regionName) { return getRegionMetadata().getRegion(regionName); }
/** * Returns a list of the available AWS regions. */ public static List<Region> getRegions() { return getRegionMetadata().getRegions(); }