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