Package io.quarkus.amazon.common.runtime
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
RegionConverter
public RegionConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.eclipse.microprofile.config.spi.Converter<software.amazon.awssdk.regions.Region>
-