Class OSSChannel.Builder

  • Enclosing class:
    OSSChannel

    public static class OSSChannel.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sessionExpiryDurationInMilliseconds

        public OSSChannel.Builder sessionExpiryDurationInMilliseconds​(Long sessionExpiryDurationInMilliseconds)
      • eventSinkBotIds

        public OSSChannel.Builder eventSinkBotIds​(List<String> eventSinkBotIds)
        The IDs of the Skills and Digital Assistants that the Channel is routed to.
        Parameters:
        eventSinkBotIds - the value to set
        Returns:
        this builder
      • inboundMessageTopic

        public OSSChannel.Builder inboundMessageTopic​(String inboundMessageTopic)
        The topic inbound messages are received on.
        Parameters:
        inboundMessageTopic - the value to set
        Returns:
        this builder
      • outboundMessageTopic

        public OSSChannel.Builder outboundMessageTopic​(String outboundMessageTopic)
        The topic outbound messages are sent on.
        Parameters:
        outboundMessageTopic - the value to set
        Returns:
        this builder
      • bootstrapServers

        public OSSChannel.Builder bootstrapServers​(String bootstrapServers)
        The Oracle Streaming Service bootstrap servers.
        Parameters:
        bootstrapServers - the value to set
        Returns:
        this builder
      • securityProtocol

        public OSSChannel.Builder securityProtocol​(String securityProtocol)
        The security protocol to use when conecting to the Oracle Streaming Service.

        See Oracle Streaming Service documentation for a list of valid values.

        Parameters:
        securityProtocol - the value to set
        Returns:
        this builder
      • saslMechanism

        public OSSChannel.Builder saslMechanism​(String saslMechanism)
        The SASL mechanmism to use when conecting to the Oracle Streaming Service.

        See Oracle Streaming Service documentation for a list of valid values.

        Parameters:
        saslMechanism - the value to set
        Returns:
        this builder
      • tenancyName

        public OSSChannel.Builder tenancyName​(String tenancyName)
        The tenancy to use when connecting to the Oracle Streaming Service.
        Parameters:
        tenancyName - the value to set
        Returns:
        this builder
      • userName

        public OSSChannel.Builder userName​(String userName)
        The user name to use when connecting to the Oracle Streaming Service.
        Parameters:
        userName - the value to set
        Returns:
        this builder
      • streamPoolId

        public OSSChannel.Builder streamPoolId​(String streamPoolId)
        The stream pool OCI to use when connecting to the Oracle Streaming Service.
        Parameters:
        streamPoolId - the value to set
        Returns:
        this builder