Class Channel.Builder<PAYLOAD>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Channel.Builder<PAYLOAD> name​(String name)
        Channel name, used to pair configuration of connectors vs. channel configuration.
        Parameters:
        name - channel name
        Returns:
        this builder
      • publisherConfig

        public Channel.Builder<PAYLOAD> publisherConfig​(Config config)
        Config available to publisher connector.
        Parameters:
        config - config supplied to publishing connector
        Returns:
        this builder
      • subscriberConfig

        public Channel.Builder<PAYLOAD> subscriberConfig​(Config config)
        Config available to subscriber connector.
        Parameters:
        config - config supplied to subscribing connector
        Returns:
        this builder
      • build

        public Channel<PAYLOAD> build()
        Description copied from interface: Builder
        Build the instance from this builder.
        Specified by:
        build in interface Builder<PAYLOAD>
        Returns:
        instance of the built type