Class AppSyncConfig.Builder
java.lang.Object
io.floci.testcontainers.config.services.AbstractServiceConfigBuilder<AppSyncConfig.Builder,AppSyncConfig>
io.floci.testcontainers.config.services.AppSyncConfig.Builder
- Enclosing class:
- AppSyncConfig
public static class AppSyncConfig.Builder
extends AbstractServiceConfigBuilder<AppSyncConfig.Builder,AppSyncConfig>
Builder for
AppSyncConfig.-
Field Summary
Fields inherited from class io.floci.testcontainers.config.services.AbstractServiceConfigBuilder
enabled -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutableAppSyncConfigfrom this builder.schemaWorkerShutdownTimeoutSeconds(int schemaWorkerShutdownTimeoutSeconds) Sets the number of seconds to wait for in-flight schema workers on shutdown.schemaWorkerThreads(int schemaWorkerThreads) Sets the number of worker threads used for asynchronous schema creation.Methods inherited from class io.floci.testcontainers.config.services.AbstractServiceConfigBuilder
enabled
-
Method Details
-
schemaWorkerThreads
Sets the number of worker threads used for asynchronous schema creation.- Parameters:
schemaWorkerThreads- the number of worker threads (default 4)- Returns:
- this builder
-
schemaWorkerShutdownTimeoutSeconds
public AppSyncConfig.Builder schemaWorkerShutdownTimeoutSeconds(int schemaWorkerShutdownTimeoutSeconds) Sets the number of seconds to wait for in-flight schema workers on shutdown.- Parameters:
schemaWorkerShutdownTimeoutSeconds- timeout in seconds (default 30)- Returns:
- this builder
-
build
Creates an immutableAppSyncConfigfrom this builder.- Specified by:
buildin classAbstractServiceConfigBuilder<AppSyncConfig.Builder,AppSyncConfig> - Returns:
- the AppSync configuration
-