public class PropertiesBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
properties |
Constructor and Description |
---|
PropertiesBuilder() |
PropertiesBuilder(Properties properties) |
protected final Properties properties
public PropertiesBuilder()
public PropertiesBuilder(Properties properties)
public PropertiesBuilder relaxSSLHostname(boolean relax)
org.jclouds.Constants.PROPERTY_RELAX_HOSTNAME
public PropertiesBuilder trustAllCerts(boolean trust)
org.jclouds.Constants.PROPERTY_TRUST_ALL_CERTS
public PropertiesBuilder useSystemProxies(boolean useSystemProxies)
org.jclouds.Constants.PROPERTY_PROXY_SYSTEM
public PropertiesBuilder withProxyHost(String proxyHost)
org.jclouds.Constants.PROPERTY_PROXY_HOST
public PropertiesBuilder withProxyPort(int proxyPort)
org.jclouds.Constants.PROPERTY_PROXY_PORT
public PropertiesBuilder withProxyUser(String proxyUser)
org.jclouds.Constants.PROPERTY_PROXY_USER
public PropertiesBuilder withProxyPassword(String proxyPassword)
org.jclouds.Constants.PROPERTY_PROXY_PASSWORD
public PropertiesBuilder withSOTimeout(long soTimeout)
org.jclouds.Constants.PROPERTY_SO_TIMEOUT
public PropertiesBuilder withConnectionTimeout(long connectionTimeout)
org.jclouds.Constants.PROPERTY_CONNECTION_TIMEOUT
public PropertiesBuilder withMaxRetries(int httpMaxRetries)
org.jclouds.Constants.PROPERTY_MAX_RETRIES
public PropertiesBuilder withRetriesDelayStart(long delayStart)
org.jclouds.Constants.PROPERTY_RETRY_DELAY_START
public PropertiesBuilder withMaxRedirects(int httpMaxRedirects)
org.jclouds.Constants.PROPERTY_MAX_REDIRECTS
public PropertiesBuilder withMaxClientReuse(int poolMaxClientReuse)
org.jclouds.Constants.PROPERTY_MAX_CONNECTION_REUSE
public PropertiesBuilder withMaxSessionFailures(int poolMaxSessionFailures)
org.jclouds.Constants.PROPERTY_MAX_SESSION_FAILURES
public PropertiesBuilder limitIoWorkerThreadsTo(int poolIoWorkerThreads)
org.jclouds.Constants.PROPERTY_IO_WORKER_THREADS
public PropertiesBuilder limitUserThreadsTo(int poolUserThreads)
org.jclouds.Constants.PROPERTY_USER_THREADS
public PropertiesBuilder limitConnectionsTo(int connectionLimit)
org.jclouds.Constants.PROPERTY_MAX_CONNECTIONS_PER_CONTEXT
public PropertiesBuilder limitConnectionsPerHostTo(int connectionLimit)
org.jclouds.Constants.PROPERTY_MAX_CONNECTIONS_PER_HOST
protected Properties defaultProperties()
public PropertiesBuilder provider(String providerName)
public PropertiesBuilder endpoint(String endpoint)
public PropertiesBuilder iso3166Codes(Iterable<String> codes)
public PropertiesBuilder apiVersion(String apiVersion)
public PropertiesBuilder buildVersion(String buildVersion)
public PropertiesBuilder credentials(String identity, @Nullable String credential)
public PropertiesBuilder sessionInterval(long seconds)
public Properties build()
Copyright © 2009-2012 jclouds. All Rights Reserved.