Class CreateCdcReplicationCallInput.CdcReplicationCallInputBuilder
java.lang.Object
org.gridgain.internal.cli.call.cdc.replication.CreateCdcReplicationCallInput.CdcReplicationCallInputBuilder
- Enclosing class:
- CreateCdcReplicationCallInput
Builder for
CreateCdcReplicationCallInput.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance ofCreateCdcReplicationCallInput.clusterUrl(String clusterUrl) Sets the URL of the cluster.executionNodes(List<String> executionNodes) Sets the list of execution nodes.mode(org.apache.ignite.rest.client.model.ReplicationMode mode) Sets the replication mode.Sets the name of the replication.replicationName(String replicationName) Sets the name of the replication.Sets the name of the cdc sink.sourceName(String sourceName) Sets the name of the cdc source.
-
Constructor Details
-
CdcReplicationCallInputBuilder
public CdcReplicationCallInputBuilder()
-
-
Method Details
-
name
Sets the name of the replication.- Parameters:
name- Name of the replication.- Returns:
- This builder instance.
-
replicationName
public CreateCdcReplicationCallInput.CdcReplicationCallInputBuilder replicationName(String replicationName) Sets the name of the replication.- Parameters:
replicationName- Name of the replication.- Returns:
- This builder instance.
-
sourceName
Sets the name of the cdc source.- Parameters:
sourceName- Name of the cdc source.- Returns:
- This builder instance.
-
sinkName
Sets the name of the cdc sink.- Parameters:
sinkName- Name of the cdc sink .- Returns:
- This builder instance.
-
clusterUrl
Sets the URL of the cluster.- Parameters:
clusterUrl- URL of the cluster.- Returns:
- This builder instance.
-
mode
public CreateCdcReplicationCallInput.CdcReplicationCallInputBuilder mode(org.apache.ignite.rest.client.model.ReplicationMode mode) Sets the replication mode.- Parameters:
mode- Replication mode.- Returns:
- This builder instance.
-
executionNodes
public CreateCdcReplicationCallInput.CdcReplicationCallInputBuilder executionNodes(List<String> executionNodes) Sets the list of execution nodes.- Parameters:
executionNodes- List of execution nodes.- Returns:
- This builder instance.
-
build
Builds a new instance ofCreateCdcReplicationCallInput.- Returns:
- A new instance of
CreateCdcReplicationCallInput.
-