Package com.amazonaws.internal.config
Class InternalConfig
- java.lang.Object
-
- com.amazonaws.internal.config.InternalConfig
-
@Immutable public class InternalConfig extends Object
Internal configuration for the AWS Java SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalConfig.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getDefaultConfigFileLocation()
List<HostRegexToRegionMapping>
getHostRegexToRegionMappings()
HttpClientConfig
getHttpClientConfig(String httpClientName)
Returns the http client configuration for the http client name.URL
getOverrideConfigFileLocation()
SignerConfig
getSignerConfig(String serviceName)
Returns the signer configuration for the specified service, not specific to any region.SignerConfig
getSignerConfig(String serviceName, String regionName)
Returns the signer configuration for the specified service name and an optional region name.String
getUserAgentTemplate()
-
-
-
Method Detail
-
getSignerConfig
public SignerConfig getSignerConfig(String serviceName)
Returns the signer configuration for the specified service, not specific to any region.
-
getHttpClientConfig
public HttpClientConfig getHttpClientConfig(String httpClientName)
Returns the http client configuration for the http client name.
-
getSignerConfig
public SignerConfig getSignerConfig(String serviceName, String regionName)
Returns the signer configuration for the specified service name and an optional region name.- Parameters:
serviceName
- must not be nullregionName
- similar to the region name inRegions
; can be null.- Returns:
- the signer
-
getHostRegexToRegionMappings
public List<HostRegexToRegionMapping> getHostRegexToRegionMappings()
- Returns:
- all the host-name-regex to region-name mappings.
-
getUserAgentTemplate
public String getUserAgentTemplate()
- Returns:
- the custom user agent template, if configured
-
getDefaultConfigFileLocation
public URL getDefaultConfigFileLocation()
-
getOverrideConfigFileLocation
public URL getOverrideConfigFileLocation()
-
-