@Immutable public class InternalConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InternalConfig.Factory |
Modifier and Type | Method and Description |
---|---|
boolean |
endpointDiscoveryEnabled() |
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() |
public SignerConfig getSignerConfig(String serviceName)
public HttpClientConfig getHttpClientConfig(String httpClientName)
public SignerConfig getSignerConfig(String serviceName, String regionName)
serviceName
- must not be nullregionName
- similar to the region name in Regions
; can be null.public List<HostRegexToRegionMapping> getHostRegexToRegionMappings()
public String getUserAgentTemplate()
public boolean endpointDiscoveryEnabled()
public URL getDefaultConfigFileLocation()
public URL getOverrideConfigFileLocation()
Copyright © 2019. All rights reserved.