Class FlinkContainers.Builder

java.lang.Object
org.apache.flink.connector.testframe.container.FlinkContainers.Builder
Enclosing class:
FlinkContainers

public static final class FlinkContainers.Builder extends Object
The FlinkContainers builder.
  • Method Details

    • withFlinkContainersSettings

      public FlinkContainers.Builder withFlinkContainersSettings(FlinkContainersSettings flinkContainersSettings)
      Allows to optionally provide Flink containers settings. FlinkContainersSettings based on defaults will be used otherwise.
      Parameters:
      flinkContainersSettings - The Flink containers settings.
      Returns:
      A reference to this Builder.
    • withTestcontainersSettings

      public FlinkContainers.Builder withTestcontainersSettings(TestcontainersSettings testcontainersSettings)
      Allows to optionally provide Testcontainers settings. TestcontainersSettings based on defaults will be used otherwise.
      Parameters:
      testcontainersSettings - The Testcontainers settings.
      Returns:
      A reference to this Builder.
    • build

      public FlinkContainers build()
      Returns FlinkContainers built from the provided settings.
      Returns:
      FlinkContainers built with parameters of this FlinkContainers.Builder.