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

    Modifier and Type
    Method
    Description
    Returns the region name to use.
  • Method Details

    • getRegion

      Region getRegion()
      Returns the region name to use. If region information is not available, throws an SdkClientException.
      Returns:
      Region name to use.