Class OcpKafkaDeployer.Builder
- java.lang.Object
-
- io.debezium.testing.system.tools.kafka.OcpKafkaDeployer.Builder
-
- All Implemented Interfaces:
Deployer.Builder<OcpKafkaDeployer.Builder,OcpKafkaDeployer>
- Enclosing class:
- OcpKafkaDeployer
public static class OcpKafkaDeployer.Builder extends Object implements Deployer.Builder<OcpKafkaDeployer.Builder,OcpKafkaDeployer>
Builder forOcpKafkaDeployer
-
-
Field Summary
Fields Modifier and Type Field Description private okhttp3.OkHttpClienthttpClientprivate io.fabric8.openshift.client.OpenShiftClientocpClientprivate StrimziOperatorControlleroperatorControllerprivate Stringprojectprivate StringyamlPath
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcpKafkaDeployerbuild()OcpKafkaDeployer.BuilderwithHttpClient(okhttp3.OkHttpClient httpClient)OcpKafkaDeployer.BuilderwithOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)OcpKafkaDeployer.BuilderwithOperatorController(StrimziOperatorController operatorController)OcpKafkaDeployer.BuilderwithProject(String project)OcpKafkaDeployer.BuilderwithYamlPath(String yamlPath)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.system.tools.Deployer.Builder
self
-
-
-
-
Field Detail
-
project
private String project
-
yamlPath
private String yamlPath
-
ocpClient
private io.fabric8.openshift.client.OpenShiftClient ocpClient
-
httpClient
private okhttp3.OkHttpClient httpClient
-
operatorController
private StrimziOperatorController operatorController
-
-
Method Detail
-
withProject
public OcpKafkaDeployer.Builder withProject(String project)
-
withOcpClient
public OcpKafkaDeployer.Builder withOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)
-
withHttpClient
public OcpKafkaDeployer.Builder withHttpClient(okhttp3.OkHttpClient httpClient)
-
withYamlPath
public OcpKafkaDeployer.Builder withYamlPath(String yamlPath)
-
withOperatorController
public OcpKafkaDeployer.Builder withOperatorController(StrimziOperatorController operatorController)
-
build
public OcpKafkaDeployer build()
- Specified by:
buildin interfaceDeployer.Builder<OcpKafkaDeployer.Builder,OcpKafkaDeployer>
-
-