Class Route53Config


public class Route53Config extends AbstractServiceConfig<Route53Config.Builder>
Configuration for Route 53-specific container settings.

Instances are created via Route53Config.Builder:


 Route53Config config = Route53Config.builder()
     .defaultNameserver1("ns-1.example.com")
     .build();
 
  • Method Details

    • builder

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

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

      public String getDefaultNameserver1()
      Returns the first default nameserver.
      Returns:
      the first default nameserver
    • getDefaultNameserver2

      public String getDefaultNameserver2()
      Returns the second default nameserver.
      Returns:
      the second default nameserver
    • getDefaultNameserver3

      public String getDefaultNameserver3()
      Returns the third default nameserver.
      Returns:
      the third default nameserver
    • getDefaultNameserver4

      public String getDefaultNameserver4()
      Returns the fourth default nameserver.
      Returns:
      the fourth default nameserver
    • 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<Route53Config.Builder>
      Parameters:
      container - the container to configure