Class SsmConfig
java.lang.Object
io.floci.testcontainers.config.services.AbstractServiceConfig<SsmConfig.Builder>
io.floci.testcontainers.config.services.SsmConfig
Configuration for SSM-specific container settings.
Instances are created via SsmConfig.Builder:
SsmConfig config = SsmConfig.builder()
.maxParameterHistory(10)
.build();
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.floci.testcontainers.config.services.AbstractServiceConfig
DEFAULT_ENABLED -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEnvVarsToContainer(org.testcontainers.containers.Container<?> container) Applies this service configuration to the given container by setting the appropriate environment variables.static SsmConfig.Builderbuilder()Returns a newSsmConfig.Builderfor this configuration.intReturns the maximum parameter history count.Returns a newSsmConfig.Builderfor this configuration, initialized with the current values of this instance.Methods inherited from class io.floci.testcontainers.config.services.AbstractServiceConfig
applyExposedPortsToContainer, isEnabled
-
Method Details
-
builder
Returns a newSsmConfig.Builderfor this configuration.- Returns:
- a new builder
-
toBuilder
Returns a newSsmConfig.Builderfor this configuration, initialized with the current values of this instance.- Specified by:
toBuilderin classAbstractServiceConfig<SsmConfig.Builder>- Returns:
- a new builder pre-populated with this configuration's values
-
getMaxParameterHistory
public int getMaxParameterHistory()Returns the maximum parameter history count.- Returns:
- the maximum parameter history count
-
applyEnvVarsToContainer
public void applyEnvVarsToContainer(org.testcontainers.containers.Container<?> container) Description copied from class:AbstractServiceConfigApplies this service configuration to the given container by setting the appropriate environment variables.- Overrides:
applyEnvVarsToContainerin classAbstractServiceConfig<SsmConfig.Builder>- Parameters:
container- the container to configure
-