Java com.amazonaws.regions Regions fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.regions Regions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.regions Regions.

The text is from its open source code.

Field

RegionsGovCloud
RegionsUS_EAST_1
RegionsUS_WEST_1
RegionsUS_WEST_2
RegionsEU_WEST_1
RegionsEU_CENTRAL_1
RegionsAP_SOUTH_1
RegionsAP_SOUTHEAST_1
RegionsAP_SOUTHEAST_2
RegionsAP_NORTHEAST_1
RegionsCN_NORTH_1
RegionsDEFAULT_REGION
The default region that new customers in the US are encouraged to use when using AWS services for the first time.

Method

RegionsfromName(String regionName)
Returns a region enum corresponding to the given region name.
RegiongetCurrentRegion()
Returns a Region object representing the region the application is running in, when running in EC2.
StringgetName()
The name of this region, used in the regions.xml file to identify it.