Package org.jclouds.sshj
Class SSHClientConnection.Builder
- java.lang.Object
 - 
- org.jclouds.sshj.SSHClientConnection.Builder
 
 
- 
- Enclosing class:
 - SSHClientConnection
 
public static class SSHClientConnection.Builder extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector>agentConnectorprotected intconnectTimeoutprotected com.google.common.net.HostAndPorthostAndPortprotected LoginCredentialsloginCredentialsprotected intsessionTimeout 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSHClientConnection.BuilderagentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)SSHClientConnectionbuild()SSHClientConnection.BuilderconnectTimeout(int connectTimeout)protected SSHClientConnection.BuilderfromSSHClientConnection(SSHClientConnection in)SSHClientConnection.BuilderhostAndPort(com.google.common.net.HostAndPort hostAndPort)SSHClientConnection.BuilderloginCredentials(LoginCredentials loginCredentials)SSHClientConnection.BuildersessionTimeout(int sessionTimeout) 
 - 
 
- 
- 
Field Detail
- 
hostAndPort
protected com.google.common.net.HostAndPort hostAndPort
 
- 
loginCredentials
protected LoginCredentials loginCredentials
 
- 
connectTimeout
protected int connectTimeout
 
- 
sessionTimeout
protected int sessionTimeout
 
- 
agentConnector
protected com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector
 
 - 
 
- 
Method Detail
- 
hostAndPort
public SSHClientConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
- See Also:
 SSHClientConnection.getHostAndPort()
 
- 
loginCredentials
public SSHClientConnection.Builder loginCredentials(LoginCredentials loginCredentials)
 
- 
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)
 
 - 
 
 -