Class SshClientBuilder

    • Constructor Detail

      • SshClientBuilder

        public SshClientBuilder()
    • Method Detail

      • port

        public SshClientBuilder port​(int port)
        Sets the port property.
        Parameters:
        port -
        Returns:
      • password

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

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

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

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

        public SshClientBuilder knownHosts​(String knownHosts)
        Sets the knownHosts property.
        Parameters:
        knownHosts -
        Returns:
      • commandTimeout

        public SshClientBuilder commandTimeout​(long commandTimeout)
        Sets the commandTimeout property.
        Parameters:
        commandTimeout -
        Returns:
      • connectionTimeout

        public SshClientBuilder connectionTimeout​(int connectionTimeout)
        Sets the connectionTimeout property.
        Parameters:
        connectionTimeout -
        Returns:
      • pollingInterval

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

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