public static class SessionConnection.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
connectTimeout |
protected com.google.common.net.HostAndPort |
hostAndPort |
protected LoginCredentials |
loginCredentials |
protected int |
sessionTimeout |
Constructor and Description |
---|
SessionConnection.Builder() |
Modifier and Type | Method and Description |
---|---|
SessionConnection |
build() |
SessionConnection.Builder |
connectTimeout(int connectTimeout) |
protected SessionConnection.Builder |
fromSessionConnection(SessionConnection in) |
SessionConnection.Builder |
hostAndPort(com.google.common.net.HostAndPort hostAndPort) |
SessionConnection.Builder |
loginCredentials(LoginCredentials loginCredentials) |
SessionConnection.Builder |
sessionTimeout(int sessionTimeout) |
protected com.google.common.net.HostAndPort hostAndPort
protected LoginCredentials loginCredentials
protected int connectTimeout
protected int sessionTimeout
public SessionConnection.Builder hostAndPort(com.google.common.net.HostAndPort hostAndPort)
SessionConnection.getHostAndPort()
public SessionConnection.Builder loginCredentials(LoginCredentials loginCredentials)
public SessionConnection.Builder connectTimeout(int connectTimeout)
public SessionConnection.Builder sessionTimeout(int sessionTimeout)
public SessionConnection build()
protected SessionConnection.Builder fromSessionConnection(SessionConnection in)
Copyright © 2009-2013 jclouds. All Rights Reserved.