public class Ec2MetadataRegionProvider extends Object implements RegionProvider
RegionProvider implementation that dynamically
retrieves the region with the EC2 meta-data. This implementation allows application to
run against their region without any further configuration.| Constructor and Description |
|---|
Ec2MetadataRegionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected com.amazonaws.regions.Region |
getCurrentRegion() |
com.amazonaws.regions.Region |
getRegion()
Returns the region which should be used to access the services.
|
public com.amazonaws.regions.Region getRegion()
RegionProviderRegion enumeration.getRegion in interface RegionProviderprotected com.amazonaws.regions.Region getCurrentRegion()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.