public class ClientConfigurationFactory extends Object
ClientConfiguration
instances.
Individual service clients may extend this factory to override
these with service specific configuration values.Constructor and Description |
---|
ClientConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
getConfig()
Builds a
ClientConfiguration instance with the default configuration
for the current client. |
protected ClientConfiguration |
getDefaultConfig()
Builds a
ClientConfiguration instance with default configuration
values suitable for most use cases. |
protected ClientConfiguration |
getInRegionOptimizedConfig()
Builds a
ClientConfiguration instance with configuration values
tailored towards clients operating in the same AWS region as the service
endpoint they call. |
public final ClientConfiguration getConfig()
ClientConfiguration
instance with the default configuration
for the current client. If the SDKGlobalConfiguration.ENABLE_IN_REGION_OPTIMIZED_MODE
system property has been set, in-region optimized configuration will be used.ClientConfiguration
instanceprotected ClientConfiguration getDefaultConfig()
ClientConfiguration
instance with default configuration
values suitable for most use cases.ClientConfiguration
with standard configuration.protected ClientConfiguration getInRegionOptimizedConfig()
ClientConfiguration
instance with configuration values
tailored towards clients operating in the same AWS region as the service
endpoint they call. Timeouts in in-region optimized configurations are
generally set much lower than the client standard configuration.ClientConfiguration
with in-region optimized configurationCopyright © 2020. All rights reserved.