Class RegionConverter

java.lang.Object
io.quarkus.amazon.common.runtime.RegionConverter
All Implemented Interfaces:
Serializable, org.eclipse.microprofile.config.spi.Converter<software.amazon.awssdk.regions.Region>

@Priority(200) public class RegionConverter extends Object implements org.eclipse.microprofile.config.spi.Converter<software.amazon.awssdk.regions.Region>
A converter which converts a string with AWS region, e.g. "eu-central-1" into an instance of Region. If an address is given, then a resolved instance is returned.
See Also:
  • Constructor Details

    • RegionConverter

      public RegionConverter()
  • Method Details

    • convert

      public software.amazon.awssdk.regions.Region convert(String value)
      Specified by:
      convert in interface org.eclipse.microprofile.config.spi.Converter<software.amazon.awssdk.regions.Region>