Class FlinkContainers.Builder
java.lang.Object
org.apache.flink.connector.testframe.container.FlinkContainers.Builder
- Enclosing class:
- FlinkContainers
The
FlinkContainers builder.-
Method Summary
Modifier and TypeMethodDescriptionbuild()ReturnsFlinkContainersbuilt from the provided settings.withFlinkContainersSettings(FlinkContainersSettings flinkContainersSettings) Allows to optionally provide Flink containers settings.withTestcontainersSettings(TestcontainersSettings testcontainersSettings) Allows to optionally provide Testcontainers settings.
-
Method Details
-
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
ReturnsFlinkContainersbuilt from the provided settings.- Returns:
FlinkContainersbuilt with parameters of thisFlinkContainers.Builder.
-