Interface AwsRegionProvider
- All Known Implementing Classes:
AwsProfileRegionProvider
,AwsRegionProviderChain
,DefaultAwsRegionProviderChain
,InstanceProfileRegionProvider
,LazyAwsRegionProvider
,SystemSettingsRegionProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for providing AWS region information. Implementations are free to use any strategy for
providing region information.
-
Method Summary
-
Method Details
-
getRegion
Region getRegion()Returns the region name to use. If region information is not available, throws anSdkClientException
.- Returns:
- Region name to use.
-