Class SdkClientConfiguration
java.lang.Object
software.amazon.awssdk.core.client.config.SdkClientConfiguration
- All Implemented Interfaces:
- AutoCloseable,- ToCopyableBuilder<SdkClientConfiguration.Builder,,- SdkClientConfiguration> - SdkAutoCloseable
@SdkProtectedApi
public final class SdkClientConfiguration
extends Object
implements ToCopyableBuilder<SdkClientConfiguration.Builder,SdkClientConfiguration>, SdkAutoCloseable 
A collection of configuration that is required by an AWS client in order to operate.
 Configuration can be set via 
SdkClientConfiguration.Builder.option(ClientOption, Object) and checked via
 option(ClientOption).
 This configuration can be merged with other configuration using merge(software.amazon.awssdk.core.client.config.SdkClientConfiguration).
 This configuration object can be close()d to release all closeable resources configured within it.- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionCreate aClientOverrideConfigurationusing the values currently in this configuration.builder()Create a builder for aSdkClientConfiguration.voidclose()Close this configuration, which closes all closeable attributes.booleanstatic SdkClientConfigurationfromOverrideConfiguration(ClientOverrideConfiguration configuration) Create aSdkClientConfigurationfrom the providedClientOverrideConfiguration.inthashCode()merge(Consumer<SdkClientConfiguration.Builder> configuration) merge(SdkClientConfiguration configuration) Merge this configuration with another configuration, where this configuration's values take precedence.<T> Toption(ClientOption<T> option) Retrieve the value of a specific option.Take this object and create a builder that contains all of the current property values of this object.toString()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
builderCreate a builder for aSdkClientConfiguration.
- 
fromOverrideConfigurationpublic static SdkClientConfiguration fromOverrideConfiguration(ClientOverrideConfiguration configuration) Create aSdkClientConfigurationfrom the providedClientOverrideConfiguration. This copies the properties out of the configuration and ensures that _OVERRIDDEN properties are properly set, likeSdkClientOption.SIGNER_OVERRIDDEN.
- 
optionRetrieve the value of a specific option.
- 
asOverrideConfigurationCreate aClientOverrideConfigurationusing the values currently in this configuration.
- 
mergeMerge this configuration with another configuration, where this configuration's values take precedence.
- 
merge
- 
toString
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<SdkClientConfiguration.Builder,- SdkClientConfiguration> 
- Returns:
- a builder for type T
 
- 
closepublic void close()Close this configuration, which closes all closeable attributes.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- SdkAutoCloseable
 
- 
equals
- 
hashCode
 
-