Class MappingRule.Builder

  • Enclosing class:
    MappingRule

    public static class MappingRule.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • mappingType

        public MappingRule.Builder mappingType​(MappingType mappingType)
        Defines the exclude/include rules of source and target schemas and tables when replicating from source to target.

        This option applies when creating and updating a pipeline.

        Parameters:
        mappingType - the value to set
        Returns:
        this builder
      • source

        public MappingRule.Builder source​(String source)
        The source schema/table combination for replication to target.
        Parameters:
        source - the value to set
        Returns:
        this builder
      • target

        public MappingRule.Builder target​(String target)
        The target schema/table combination for replication from the source.
        Parameters:
        target - the value to set
        Returns:
        this builder