Class SqsConfig


  • public class SqsConfig
    extends Object
    Config used by SQS Resources to build Clients and load typed configuration values.
    • Constructor Detail

      • SqsConfig

        protected SqsConfig​(Map<String,​?> properties)
    • Method Detail

      • buildClient

        public software.amazon.awssdk.services.sqs.SqsAsyncClient buildClient()
      • loadConfiguredOrThrow

        public <T extends io.atleon.util.Configurable> T loadConfiguredOrThrow​(String property,
                                                                               Class<? extends T> type)
      • loadSetOfStringOrEmpty

        public Set<String> loadSetOfStringOrEmpty​(String key)
      • loadConfiguredWithPredefinedTypes

        public <T extends io.atleon.util.Configurable> Optional<T> loadConfiguredWithPredefinedTypes​(String key,
                                                                                                     Class<? extends T> type,
                                                                                                     Function<String,​Optional<T>> predefinedTypeInstantiator)