public class AwsClientConfigurationDefaults extends SdkClientConfigurationDefaults
AwsMutableClientConfiguration
if they weren't already
specified by the customer (or a higher precedent configuration). This is used by extending it and overriding optional
"apply default" methods to check if the customer has specified a piece of configuration. If not, the subclass can inject its
own configuration to be added to the customer's.
Configurations are implementing using different levels of precedents. For example, the customer's configuration has the
highest priority, followed by configuration generated by a builder, followed by service-specific overrides, followed by
generic global configurations. This configuration hierarchy is managed by the AwsClientBuilder
implementation.
GlobalClientConfigurationDefaults
Constructor and Description |
---|
AwsClientConfigurationDefaults() |
Modifier and Type | Method and Description |
---|---|
void |
applyAsyncDefaults(AwsMutableClientConfiguration config)
Apply async defaults to a mutable configuration object.
|
void |
applySyncDefaults(AwsMutableClientConfiguration config)
Apply sync defaults to a mutable configuration object.
|
applyAsyncDefaults, applySyncDefaults
public final void applySyncDefaults(AwsMutableClientConfiguration config)
public final void applyAsyncDefaults(AwsMutableClientConfiguration config)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.