Class CdcReplicationDefinition.ReplicationDefinitionBuilder
java.lang.Object
org.gridgain.internal.cdc.api.replication.CdcReplicationDefinition.ReplicationDefinitionBuilder
- Enclosing class:
- CdcReplicationDefinition
A builder for
CdcReplicationDefinition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance ofCdcReplicationDefinition.executionNodes(CdcReplicationExecNodes executionNodes) Sets the execution nodes for the replication.mode(CdcReplicationMode mode) Sets the mode of the replication.Sets the name of the replication.Sets the name of the sink.sourceName(String sourceName) Sets the name of the source.
-
Constructor Details
-
ReplicationDefinitionBuilder
public ReplicationDefinitionBuilder()
-
-
Method Details
-
name
Sets the name of the replication. -
sinkName
Sets the name of the sink. -
sourceName
Sets the name of the source. -
mode
Sets the mode of the replication. -
executionNodes
public CdcReplicationDefinition.ReplicationDefinitionBuilder executionNodes(CdcReplicationExecNodes executionNodes) Sets the execution nodes for the replication. -
build
Builds a new instance ofCdcReplicationDefinition.
-