Class SftpServerBuilder

All Implemented Interfaces:
EndpointBuilder<SftpServer>

public class SftpServerBuilder extends AbstractServerBuilder<SftpServer,SftpServerBuilder>
Since:
2.5
Author:
Christoph Deppisch
  • Constructor Details

    • SftpServerBuilder

      public SftpServerBuilder()
  • Method Details

    • getEndpoint

      protected SftpServer getEndpoint()
      Specified by:
      getEndpoint in class AbstractEndpointBuilder<SftpServer>
    • port

      public SftpServerBuilder port(int port)
      Sets the port property.
      Parameters:
      port -
      Returns:
    • autoConnect

      public SftpServerBuilder autoConnect(boolean autoConnect)
      Sets the autoConnect property.
      Parameters:
      autoConnect -
      Returns:
    • autoLogin

      public SftpServerBuilder autoLogin(boolean autoLogin)
      Sets the autoLogin property.
      Parameters:
      autoLogin -
      Returns:
    • user

      public SftpServerBuilder user(String user)
      Sets the user property.
      Parameters:
      user -
      Returns:
    • password

      public SftpServerBuilder password(String password)
      Sets the client password.
      Parameters:
      password -
      Returns:
    • hostKeyPath

      public SftpServerBuilder hostKeyPath(String hostKeyPath)
      Sets the hostKeyPath property.
      Parameters:
      hostKeyPath -
      Returns:
    • userHomePath

      public SftpServerBuilder userHomePath(String userHomePath)
      Sets the userHomePath property.
      Parameters:
      userHomePath -
      Returns:
    • allowedKeyPath

      public SftpServerBuilder allowedKeyPath(String allowedKeyPath)
      Sets the allowedKeyPath property.
      Parameters:
      allowedKeyPath -
      Returns:
    • pollingInterval

      public SftpServerBuilder pollingInterval(int pollingInterval)
      Sets the polling interval.
      Parameters:
      pollingInterval -
      Returns:
    • strictHostChecking

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

      public SftpServerBuilder knownHosts(String knownHosts)
      Sets the knownHosts property.
      Parameters:
      knownHosts -
      Returns:
    • privateKeyPath

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

      public SftpServerBuilder privateKeyPassword(String privateKeyPassword)
      Sets the privateKeyPassword property.
      Parameters:
      privateKeyPassword -
      Returns:
    • preferredAuthentications

      public SftpServerBuilder preferredAuthentications(String preferredAuthentications)
      Sets the preferredAuthentications property.
      Parameters:
      preferredAuthentications -
      Returns:
    • sessionConfigs

      public SftpServerBuilder sessionConfigs(Map<String,String> sessionConfigs)
      Sets the sessionConfigs property.
      Parameters:
      sessionConfigs -
      Returns: