public class StaticRegionProvider extends Object implements RegionProvider
RegionProvider implementation that can used to statically configure a
region. The region could be provided through a configuration file at configuration
time.| Constructor and Description |
|---|
StaticRegionProvider(String configuredRegion)
Constructs and configures the static region for this RegionProvider implementation.
|
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.regions.Region |
getRegion()
Return the configured Region configured at construction time.
|
public StaticRegionProvider(String configuredRegion)
configuredRegion - - the region that will be statically returned in
getRegion()public com.amazonaws.regions.Region getRegion()
getRegion in interface RegionProviderCopyright © 2021 Pivotal Software, Inc.. All rights reserved.