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.
@FunctionalInterface public interface AwsRegionProvider
Interface for providing AWS region information. Implementations are free to use any strategy for providing region information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Region
getRegion()
Returns the region name to use.
-
-
-
Method Detail
-
getRegion
Region getRegion()
Returns the region name to use. If region information is not available, throws anSdkClientException
.- Returns:
- Region name to use.
-
-