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
TheFlinkContainersbuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlinkContainersbuild()ReturnsFlinkContainersbuilt from the provided settings.FlinkContainers.BuilderwithFlinkContainersSettings(FlinkContainersSettings flinkContainersSettings)Allows to optionally provide Flink containers settings.FlinkContainers.BuilderwithTestcontainersSettings(TestcontainersSettings testcontainersSettings)Allows to optionally provide Testcontainers settings.
-
-
-
Method Detail
-
withFlinkContainersSettings
public FlinkContainers.Builder withFlinkContainersSettings(FlinkContainersSettings flinkContainersSettings)
Allows to optionally provide Flink containers settings.FlinkContainersSettingsbased 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.TestcontainersSettingsbased on defaults will be used otherwise.- Parameters:
testcontainersSettings- The Testcontainers settings.- Returns:
- A reference to this Builder.
-
build
public FlinkContainers build()
ReturnsFlinkContainersbuilt from the provided settings.- Returns:
FlinkContainersbuilt with parameters of thisFlinkContainers.Builder.
-
-