Class Route53Config
java.lang.Object
io.floci.testcontainers.config.services.AbstractServiceConfig<Route53Config.Builder>
io.floci.testcontainers.config.services.Route53Config
Configuration for Route 53-specific container settings.
Instances are created via Route53Config.Builder:
Route53Config config = Route53Config.builder()
.defaultNameserver1("ns-1.example.com")
.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 Route53Config.Builderbuilder()Returns a newRoute53Config.Builderfor this configuration.Returns the first default nameserver.Returns the second default nameserver.Returns the third default nameserver.Returns the fourth default nameserver.Returns a newRoute53Config.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 newRoute53Config.Builderfor this configuration.- Returns:
- a new builder
-
toBuilder
Returns a newRoute53Config.Builderfor this configuration, initialized with the current values of this instance.- Specified by:
toBuilderin classAbstractServiceConfig<Route53Config.Builder>- Returns:
- a new builder pre-populated with this configuration's values
-
getDefaultNameserver1
Returns the first default nameserver.- Returns:
- the first default nameserver
-
getDefaultNameserver2
Returns the second default nameserver.- Returns:
- the second default nameserver
-
getDefaultNameserver3
Returns the third default nameserver.- Returns:
- the third default nameserver
-
getDefaultNameserver4
Returns the fourth default nameserver.- Returns:
- the fourth default nameserver
-
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<Route53Config.Builder>- Parameters:
container- the container to configure
-