Class CdcReplicationInstance.ReplicationInstanceBuilder
java.lang.Object
org.gridgain.internal.cdc.api.replication.CdcReplicationInstance.ReplicationInstanceBuilder
- Enclosing class:
- CdcReplicationInstance
A builder for
CdcReplicationInstance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance ofCdcReplicationInstance.errorContext(@Nullable String errorContext) Sets the error context for the replication instance.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 instance.runningOnNodeId(String runningOnNodeId) Sets the node ID where the replication is running.Sets the name of the sink.sourceName(String sourceName) Sets the name of the source.status(CdcReplicationStatus status) Sets the status of the replication instance.
-
Constructor Details
-
ReplicationInstanceBuilder
public ReplicationInstanceBuilder()
-
-
Method Details
-
name
Sets the name of the replication instance. -
sinkName
Sets the name of the sink. -
sourceName
Sets the name of the source. -
mode
Sets the mode of the replication. -
executionNodes
public CdcReplicationInstance.ReplicationInstanceBuilder executionNodes(CdcReplicationExecNodes executionNodes) Sets the execution nodes for the replication. -
status
Sets the status of the replication instance. -
runningOnNodeId
Sets the node ID where the replication is running. -
errorContext
public CdcReplicationInstance.ReplicationInstanceBuilder errorContext(@Nullable @Nullable String errorContext) Sets the error context for the replication instance. -
build
Builds a new instance ofCdcReplicationInstance.
-