Class AppSyncConfig


public class AppSyncConfig extends AbstractServiceConfig<AppSyncConfig.Builder>
Configuration for AppSync-specific container settings.

Instances are created via AppSyncConfig.Builder:


 AppSyncConfig config = AppSyncConfig.builder()
     .build();
 
  • Method Details

    • builder

      public static AppSyncConfig.Builder builder()
      Returns a new AppSyncConfig.Builder for this configuration.
      Returns:
      a new builder
    • toBuilder

      public AppSyncConfig.Builder toBuilder()
      Returns a new AppSyncConfig.Builder for this configuration, initialized with the current values of this instance.
      Specified by:
      toBuilder in class AbstractServiceConfig<AppSyncConfig.Builder>
      Returns:
      a new builder pre-populated with this configuration's values
    • getSchemaWorkerThreads

      public int getSchemaWorkerThreads()
      Returns the number of worker threads used for asynchronous schema creation.
      Returns:
      the number of worker threads
    • getSchemaWorkerShutdownTimeoutSeconds

      public int getSchemaWorkerShutdownTimeoutSeconds()
      Returns the number of seconds to wait for in-flight schema workers on shutdown.
      Returns:
      timeout in seconds
    • applyEnvVarsToContainer

      public void applyEnvVarsToContainer(org.testcontainers.containers.Container<?> container)
      Description copied from class: AbstractServiceConfig
      Applies this service configuration to the given container by setting the appropriate environment variables.
      Overrides:
      applyEnvVarsToContainer in class AbstractServiceConfig<AppSyncConfig.Builder>
      Parameters:
      container - the container to configure