Class AbstractAwsSyncProcessor<T extends software.amazon.awssdk.core.SdkClient,U extends software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder<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
Direct Known Subclasses:
AbstractAwsMachineLearningJobStarter, AbstractAwsMachineLearningJobStatusProcessor, AbstractDynamoDBProcessor

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

    • AbstractAwsSyncProcessor

      public AbstractAwsSyncProcessor()
  • 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)
      Creates the AWS SDK client.
      Overrides:
      createClient in class AbstractAwsProcessor<T extends software.amazon.awssdk.core.SdkClient>
      Parameters:
      context - The process context
      Returns:
      The created client
    • createClient

      public T createClient(ProcessContext context, software.amazon.awssdk.regions.Region region)
      Description copied from class: AbstractAwsProcessor
      Creates an AWS client using process context and AWS client details.
      Specified by:
      createClient in class AbstractAwsProcessor<T extends software.amazon.awssdk.core.SdkClient>
      Parameters:
      context - process context
      region - the AWS Region
      Returns:
      AWS 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
    • createSdkHttpClient

      private software.amazon.awssdk.http.SdkHttpClient createSdkHttpClient(ProcessContext context)