Class OcpKafkaConnectDeployer.Builder
- java.lang.Object
-
- io.debezium.testing.openshift.tools.kafka.OcpKafkaConnectDeployer.Builder
-
- All Implemented Interfaces:
Deployer.Builder<OcpKafkaConnectDeployer>
- Enclosing class:
- OcpKafkaConnectDeployer
public static class OcpKafkaConnectDeployer.Builder extends Object implements Deployer.Builder<OcpKafkaConnectDeployer>
Builder forOcpKafkaConnectDeployer
-
-
Field Summary
Fields Modifier and Type Field Description private StringcfgYamlPathprivate booleanconnectorResourcesprivate booleanexposedApiprivate booleanexposedMetricsprivate okhttp3.OkHttpClienthttpClientprivate io.fabric8.openshift.client.OpenShiftClientocpClientprivate Stringprojectprivate StringyamlPath
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcpKafkaConnectDeployerbuild()OcpKafkaConnectDeployer.BuilderwithCfgYamlPath(String cfgYamlPath)OcpKafkaConnectDeployer.BuilderwithConnectorResources(boolean value)OcpKafkaConnectDeployer.BuilderwithExposedApi(boolean value)OcpKafkaConnectDeployer.BuilderwithExposedMetrics(boolean value)OcpKafkaConnectDeployer.BuilderwithHttpClient(okhttp3.OkHttpClient httpClient)OcpKafkaConnectDeployer.BuilderwithOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)OcpKafkaConnectDeployer.BuilderwithProject(String project)OcpKafkaConnectDeployer.BuilderwithYamlPath(String yamlPath)
-
-
-
Field Detail
-
project
private String project
-
yamlPath
private String yamlPath
-
ocpClient
private io.fabric8.openshift.client.OpenShiftClient ocpClient
-
httpClient
private okhttp3.OkHttpClient httpClient
-
cfgYamlPath
private String cfgYamlPath
-
connectorResources
private boolean connectorResources
-
exposedMetrics
private boolean exposedMetrics
-
exposedApi
private boolean exposedApi
-
-
Method Detail
-
withProject
public OcpKafkaConnectDeployer.Builder withProject(String project)
-
withOcpClient
public OcpKafkaConnectDeployer.Builder withOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)
-
withHttpClient
public OcpKafkaConnectDeployer.Builder withHttpClient(okhttp3.OkHttpClient httpClient)
-
withYamlPath
public OcpKafkaConnectDeployer.Builder withYamlPath(String yamlPath)
-
withCfgYamlPath
public OcpKafkaConnectDeployer.Builder withCfgYamlPath(String cfgYamlPath)
-
withConnectorResources
public OcpKafkaConnectDeployer.Builder withConnectorResources(boolean value)
-
withExposedApi
public OcpKafkaConnectDeployer.Builder withExposedApi(boolean value)
-
withExposedMetrics
public OcpKafkaConnectDeployer.Builder withExposedMetrics(boolean value)
-
build
public OcpKafkaConnectDeployer build()
- Specified by:
buildin interfaceDeployer.Builder<OcpKafkaConnectDeployer>
-
-