org.jclouds.sshj
Class SSHClientConnection.Builder

java.lang.Object
  extended by org.jclouds.sshj.SSHClientConnection.Builder
Enclosing class:
SSHClientConnection

public static class SSHClientConnection.Builder
extends Object


Field Summary
protected  com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector
           
protected  int connectTimeout
           
protected  com.google.common.net.HostAndPort hostAndPort
           
protected  org.jclouds.domain.LoginCredentials loginCredentials
           
protected  int sessionTimeout
           
 
Constructor Summary
SSHClientConnection.Builder()
           
 
Method Summary
 SSHClientConnection.Builder agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
           
 SSHClientConnection build()
           
 SSHClientConnection.Builder connectTimeout(int connectTimeout)
           
protected  SSHClientConnection.Builder fromSSHClientConnection(SSHClientConnection in)
           
 SSHClientConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
           
 SSHClientConnection.Builder loginCredentials(org.jclouds.domain.LoginCredentials loginCredentials)
           
 SSHClientConnection.Builder sessionTimeout(int sessionTimeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hostAndPort

protected com.google.common.net.HostAndPort hostAndPort

loginCredentials

protected org.jclouds.domain.LoginCredentials loginCredentials

connectTimeout

protected int connectTimeout

sessionTimeout

protected int sessionTimeout

agentConnector

protected com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector
Constructor Detail

SSHClientConnection.Builder

public SSHClientConnection.Builder()
Method Detail

hostAndPort

public SSHClientConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
See Also:
SSHClientConnection.getHostAndPort()

loginCredentials

public SSHClientConnection.Builder loginCredentials(org.jclouds.domain.LoginCredentials loginCredentials)
See Also:
SSHClientConnection.getLoginCredentials()

connectTimeout

public SSHClientConnection.Builder connectTimeout(int connectTimeout)
See Also:
SSHClientConnection.getConnectTimeout()

sessionTimeout

public SSHClientConnection.Builder sessionTimeout(int sessionTimeout)
See Also:
SSHClientConnection.getConnectTimeout()

agentConnector

public SSHClientConnection.Builder agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
See Also:
SSHClientConnection.getAgentConnector()

build

public SSHClientConnection build()

fromSSHClientConnection

protected SSHClientConnection.Builder fromSSHClientConnection(SSHClientConnection in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.