public abstract class ClientConfigurationDefaults extends Object
MutableClientConfiguration
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 ClientBuilder
implementation.
GlobalClientConfigurationDefaults
Constructor and Description |
---|
ClientConfigurationDefaults() |
Modifier and Type | Method and Description |
---|---|
void |
applyAsyncDefaults(MutableClientConfiguration config)
Apply async defaults to a mutable configuration object.
|
void |
applySyncDefaults(MutableClientConfiguration config)
Apply sync defaults to a mutable configuration object.
|
public final void applySyncDefaults(MutableClientConfiguration config)
public final void applyAsyncDefaults(MutableClientConfiguration config)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.