org.jclouds
Class PropertiesBuilder
java.lang.Object
org.jclouds.PropertiesBuilder
- Direct Known Subclasses:
- AzureStoragePropertiesBuilder, BYONPropertiesBuilder, CloudLoadBalancersUSPropertiesBuilder, CloudOneStoragePropertiesBuilder, CloudServersUKPropertiesBuilder, CloudServersUSPropertiesBuilder, CloudSigmaPropertiesBuilder, CloudWatchPropertiesBuilder, DeltacloudPropertiesBuilder, EC2PropertiesBuilder, ElasticStackPropertiesBuilder, FilesystemBlobStorePropertiesBuilder, GoGridPropertiesBuilder, NinefoldStoragePropertiesBuilder, NovaPropertiesBuilder, RimuHostingPropertiesBuilder, S3PropertiesBuilder, SlicehostPropertiesBuilder, SoftLayerPropertiesBuilder, SwiftPropertiesBuilder, SynapticStoragePropertiesBuilder, TerremarkVCloudPropertiesBuilder, TransientBlobStorePropertiesBuilder, VCloudPropertiesBuilder, VPDCPropertiesBuilder
public class PropertiesBuilder
- extends Object
Builds properties used in Http engines
- Author:
- Adrian Cole, Andrew Newdigate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected final Properties properties
PropertiesBuilder
public PropertiesBuilder()
PropertiesBuilder
public PropertiesBuilder(Properties properties)
relaxSSLHostname
public PropertiesBuilder relaxSSLHostname(boolean relax)
- See Also:
org.jclouds.Constants.PROPERTY_RELAX_HOSTNAME
trustAllCerts
public PropertiesBuilder trustAllCerts(boolean trust)
- See Also:
org.jclouds.Constants.PROPERTY_TRUST_ALL_CERTS
useSystemProxies
public PropertiesBuilder useSystemProxies(boolean useSystemProxies)
- See Also:
org.jclouds.Constants.PROPERTY_PROXY_SYSTEM
withProxyHost
public PropertiesBuilder withProxyHost(String proxyHost)
- See Also:
org.jclouds.Constants.PROPERTY_PROXY_HOST
withProxyPort
public PropertiesBuilder withProxyPort(int proxyPort)
- See Also:
org.jclouds.Constants.PROPERTY_PROXY_PORT
withProxyUser
public PropertiesBuilder withProxyUser(String proxyUser)
- See Also:
org.jclouds.Constants.PROPERTY_PROXY_USER
withProxyPassword
public PropertiesBuilder withProxyPassword(String proxyPassword)
- See Also:
org.jclouds.Constants.PROPERTY_PROXY_PASSWORD
withSOTimeout
public PropertiesBuilder withSOTimeout(long soTimeout)
- See Also:
org.jclouds.Constants.PROPERTY_SO_TIMEOUT
withConnectionTimeout
public PropertiesBuilder withConnectionTimeout(long connectionTimeout)
- See Also:
org.jclouds.Constants.PROPERTY_CONNECTION_TIMEOUT
withMaxRetries
public PropertiesBuilder withMaxRetries(int httpMaxRetries)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_RETRIES
withRetriesDelayStart
public PropertiesBuilder withRetriesDelayStart(long delayStart)
- See Also:
org.jclouds.Constants.PROPERTY_RETRY_DELAY_START
withMaxRedirects
public PropertiesBuilder withMaxRedirects(int httpMaxRedirects)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_REDIRECTS
withMaxClientReuse
public PropertiesBuilder withMaxClientReuse(int poolMaxClientReuse)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_CONNECTION_REUSE
withMaxSessionFailures
public PropertiesBuilder withMaxSessionFailures(int poolMaxSessionFailures)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_SESSION_FAILURES
limitIoWorkerThreadsTo
public PropertiesBuilder limitIoWorkerThreadsTo(int poolIoWorkerThreads)
- See Also:
org.jclouds.Constants.PROPERTY_IO_WORKER_THREADS
limitUserThreadsTo
public PropertiesBuilder limitUserThreadsTo(int poolIoWorkerThreads)
- See Also:
org.jclouds.Constants.PROPERTY_IO_WORKER_THREADS
limitConnectionsTo
public PropertiesBuilder limitConnectionsTo(int connectionLimit)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_CONNECTIONS_PER_CONTEXT
limitConnectionsPerHostTo
public PropertiesBuilder limitConnectionsPerHostTo(int connectionLimit)
- See Also:
org.jclouds.Constants.PROPERTY_MAX_CONNECTIONS_PER_HOST
defaultProperties
protected Properties defaultProperties()
provider
public PropertiesBuilder provider(String providerName)
endpoint
public PropertiesBuilder endpoint(String endpoint)
iso3166Codes
public PropertiesBuilder iso3166Codes(Iterable<String> codes)
apiVersion
public PropertiesBuilder apiVersion(String apiVersion)
credentials
public PropertiesBuilder credentials(String identity,
@Nullable
String credential)
sessionInterval
public PropertiesBuilder sessionInterval(long seconds)
build
public Properties build()
Copyright © 2009-2011 jclouds. All Rights Reserved.