Class OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder
java.lang.Object
io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder
- Enclosing class:
- OcpMongoShardedDeployer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate io.fabric8.openshift.client.OpenShiftClientprivate Stringprivate intprivate Stringprivate Stringprivate intprivate List<MongoShardKey>private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withConfigServerCount(int configServerCount) withOcp(io.fabric8.openshift.client.OpenShiftClient ocp) withProject(String project) withReplicaCount(int replicaCount) withRootUser(String rootUserName, String rootPassword) withShardCount(int shardCount) withShardKeys(List<MongoShardKey> shardKeys) withUseInternalAuth(boolean useInternalAuth)
-
Field Details
-
ocp
private io.fabric8.openshift.client.OpenShiftClient ocp -
project
-
shardCount
private int shardCount -
replicaCount
private int replicaCount -
configServerCount
private int configServerCount -
rootUserName
-
rootPassword
-
useInternalAuth
private boolean useInternalAuth -
shardKeys
-
-
Constructor Details
-
OcpMongoShardedDeployerBuilder
private OcpMongoShardedDeployerBuilder()
-
-
Method Details
-
withOcp
public OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder withOcp(io.fabric8.openshift.client.OpenShiftClient ocp) -
withProject
-
withShardCount
-
withReplicaCount
-
withConfigServerCount
public OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder withConfigServerCount(int configServerCount) -
withRootUser
public OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder withRootUser(String rootUserName, String rootPassword) -
withUseInternalAuth
public OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder withUseInternalAuth(boolean useInternalAuth) -
withShardKeys
public OcpMongoShardedDeployer.OcpMongoShardedDeployerBuilder withShardKeys(List<MongoShardKey> shardKeys) -
build
-