Package org.jclouds.ssh.jsch
Class SessionConnection.Builder
- java.lang.Object
-
- org.jclouds.ssh.jsch.SessionConnection.Builder
-
- Enclosing class:
- SessionConnection
public static final class SessionConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionConnection.Builder
agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
SessionConnection
build()
SessionConnection.Builder
connectTimeout(int connectTimeout)
SessionConnection.Builder
from(SessionConnection in)
SessionConnection.Builder
hostAndPort(com.google.common.net.HostAndPort hostAndPort)
SessionConnection.Builder
loginCredentials(LoginCredentials loginCredentials)
SessionConnection.Builder
proxy(com.jcraft.jsch.Proxy proxy)
SessionConnection.Builder
proxy(ProxyConfig proxyConfig)
SessionConnection.Builder
sessionTimeout(int sessionTimeout)
-
-
-
Method Detail
-
hostAndPort
public SessionConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
- See Also:
SessionConnection.getHostAndPort()
-
loginCredentials
public SessionConnection.Builder loginCredentials(LoginCredentials loginCredentials)
- See Also:
SessionConnection.getLoginCredentials()
-
proxy
public SessionConnection.Builder proxy(com.jcraft.jsch.Proxy proxy)
- See Also:
SessionConnection.getProxy()
-
proxy
public SessionConnection.Builder proxy(ProxyConfig proxyConfig)
- See Also:
proxy(Proxy)
-
connectTimeout
public SessionConnection.Builder connectTimeout(int connectTimeout)
- See Also:
SessionConnection.getConnectTimeout()
-
sessionTimeout
public SessionConnection.Builder sessionTimeout(int sessionTimeout)
- See Also:
SessionConnection.getConnectTimeout()
-
build
public SessionConnection build()
-
from
public SessionConnection.Builder from(SessionConnection in)
-
agentConnector
public SessionConnection.Builder agentConnector(com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> agentConnector)
-
-