Class AbstractAwsAsyncProcessor<T extends software.amazon.awssdk.core.SdkClient,U extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<U,T> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<U,T>>

Type Parameters:
T - client type
U - client builder type
All Implemented Interfaces:
ConfigurableComponent, Processor, VerifiableProcessor

public abstract class AbstractAwsAsyncProcessor<T extends software.amazon.awssdk.core.SdkClient,U extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<U,T> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<U,T>> extends AbstractAwsProcessor<T>
Base class for aws async client processors using the AWS v2 SDK.
See Also:
  • Constructor Details

    • AbstractAwsAsyncProcessor

      public AbstractAwsAsyncProcessor()
  • Method Details

    • createClientBuilder

      protected abstract U createClientBuilder(ProcessContext context)
      Construct the AWS SDK client builder and perform any service-specific configuration of the builder.
      Parameters:
      context - The process context
      Returns:
      The SDK client builder
    • createClient

      public T createClient(ProcessContext context, software.amazon.awssdk.regions.Region region)
      Creates the AWS SDK client.
      Specified by:
      createClient in class AbstractAwsProcessor<T extends software.amazon.awssdk.core.SdkClient>
      Parameters:
      context - The process context
      region - the AWS Region
      Returns:
      The created client
    • configureHttpClient

      protected <B extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder> void configureHttpClient(B clientBuilder, ProcessContext context)
      Description copied from class: AbstractAwsProcessor
      Configure the http client on the builder.
      Specified by:
      configureHttpClient in class AbstractAwsProcessor<T extends software.amazon.awssdk.core.SdkClient>
      Type Parameters:
      B - The builder type
      Parameters:
      clientBuilder - The client builder
      context - The process context
    • createSdkAsyncHttpClient

      private software.amazon.awssdk.http.async.SdkAsyncHttpClient createSdkAsyncHttpClient(ProcessContext context)