Class AwsRegionProviderChain
java.lang.Object
software.amazon.awssdk.regions.providers.AwsRegionProviderChain
- All Implemented Interfaces:
AwsRegionProvider
- Direct Known Subclasses:
DefaultAwsRegionProviderChain
Composite
AwsRegionProvider that sequentially delegates to a chain of providers looking
for region information.
Throws an SdkClientException if region could not be find in any of the providers.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AwsRegionProviderChain
-
-
Method Details
-
getRegion
Description copied from interface:AwsRegionProviderReturns the region name to use. If region information is not available, throws anSdkClientException.- Specified by:
getRegionin interfaceAwsRegionProvider- Returns:
- Region name to use.
- Throws:
SdkClientException
-