Class SftpClientBuilder

    • Constructor Detail

      • SftpClientBuilder

        public SftpClientBuilder()
    • Method Detail

      • port

        public SftpClientBuilder port​(int port)
        Sets the port property.
        Parameters:
        port -
        Returns:
      • autoReadFiles

        public SftpClientBuilder autoReadFiles​(boolean autoReadFiles)
        Sets the auto read files property.
        Parameters:
        autoReadFiles -
        Returns:
      • localPassiveMode

        public SftpClientBuilder localPassiveMode​(boolean localPassiveMode)
        Sets the local passive mode property.
        Parameters:
        localPassiveMode -
        Returns:
      • username

        public SftpClientBuilder username​(String username)
        Sets the client username.
        Parameters:
        username -
        Returns:
      • password

        public SftpClientBuilder password​(String password)
        Sets the client password.
        Parameters:
        password -
        Returns:
      • privateKeyPath

        public SftpClientBuilder privateKeyPath​(String privateKeyPath)
        Sets the privateKeyPath property.
        Parameters:
        privateKeyPath -
        Returns:
      • privateKeyPassword

        public SftpClientBuilder privateKeyPassword​(String privateKeyPassword)
        Sets the privateKeyPassword property.
        Parameters:
        privateKeyPassword -
        Returns:
      • strictHostChecking

        public SftpClientBuilder strictHostChecking​(boolean strictHostChecking)
        Sets the strictHostChecking property.
        Parameters:
        strictHostChecking -
        Returns:
      • knownHosts

        public SftpClientBuilder knownHosts​(String knownHosts)
        Sets the knownHosts property.
        Parameters:
        knownHosts -
        Returns:
      • preferredAuthentications

        public SftpClientBuilder preferredAuthentications​(String preferredAuthentications)
        Sets the preferred authentications property.
        Parameters:
        preferredAuthentications -
        Returns:
      • sessionConfigs

        public SftpClientBuilder sessionConfigs​(Map<String,​String> sessionConfigs)
        Sets the sessionConfigs property.
        Parameters:
        sessionConfigs -
        Returns:
      • pollingInterval

        public SftpClientBuilder pollingInterval​(int pollingInterval)
        Sets the polling interval.
        Parameters:
        pollingInterval -
        Returns:
      • timeout

        public SftpClientBuilder timeout​(long timeout)
        Sets the default timeout.
        Parameters:
        timeout -
        Returns: