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  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 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
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()

build

public SSHClientConnection build()

fromSSHClientConnection

protected SSHClientConnection.Builder fromSSHClientConnection(SSHClientConnection in)


Copyright © 2009-2012 jclouds. All Rights Reserved.